Comment accéder à une variable d'in stance d'un object stocké dans la session utilisateur

2005-09-09 Thread Benjamin Francisoud
J'ai le code suivant qui met un objet en session: MyBean bean = new MyBean(); request.getSession().setAttribute(MyKey, bean); Avec dans MyBean: public class MyBean{ private int numResult; public MyBean() { } public int getNumResult() { return numResult; } public void

Re: Question bête sur Reader PDF

2005-09-09 Thread gael
Bonjour, Il s'agit probablement du bug connu du plugin Acrobat Reader qui ne gère pas correctement les réponses HTTP qui n'ont pas l'entête Content-Length. Merci de votre aide mais apparemment cela n'est pas le cas. J'ai regardé les entêtes transmises par le serveur pour les 2 requêtes, elles

RE: JNDI Problem

2005-09-09 Thread Stundzig, Steffen
Hi oleg, sorry, but I didn't find the solution. Because I do only need the JNDI to configure some variables, I've change this into the Cocoon-Configurable way. It's only a workaround for my special problem. But this doesn't work for your JNDI Resource. Do you have tried to access the XChangeDS

Re: Re: Taking a serialized document and performing further actions on it

2005-09-09 Thread holger . willenborg
Check the last paragraph of this WIKI entry to see more information: http://wiki.apache.org/cocoon/Aggregator [EMAIL PROTECTED] schrieb am 08.09.2005 16:32:52: Le 8 sept. 05, à 16:26, Stewart, Gary a écrit : ...pipeline match=more-working generate src="" / Use map:generate src="">

Re: Interesting CForms Validation Behavior

2005-09-09 Thread Jeroen Reijn
Dan, if you want to have validation I guess you should have the validation element within your widget definition. fd:validation /fd:validation See http://cocoon.apache.org/2.1/userdocs/forms/validation.html#General+remarks for some more information. Greetz, Jeroen Daniel Curran wrote:

forms + binding in repeater + bean + String[] type

2005-09-09 Thread Joose Vettenranta
Hi, I have bean like this: class Bean { private Collection foo = new ArrayList(); public addItem (String[] item) { ths.foo.add(foo); } public getFoo() {..} .. } in binding file, is iti possible to bind to that datatype, or do I have to use some wrrapper class? like fb:repeater

SOLVED [Re: Paginator with dynamic page sheet?]

2005-09-09 Thread Sandor Spruit
Just in case anyone cares: the point is drumrole NAMESPACE /drumrole A dynamically generated pagesheet brings along a bad namespace. Invisible, but deadly nevertheless :( Strange fact: a very meaningful paginator exception message gets folded into an utterly useless NPE at some point.

Re: negate match

2005-09-09 Thread Upayavira
I tend to achieve this with: map:match pattern=bob ... /map:match map:match pattern=* !-- everything else -- /map:match Don't know if that will work for you. Upayavira David wrote: I have been but it isn't working. Do you konw what the correct negation operator is? I know this works in

Re: SOLVED [Re: Paginator with dynamic page sheet?]

2005-09-09 Thread Jorg Heymans
Sandor Spruit wrote: Just in case anyone cares: the point is drumrole NAMESPACE /drumrole A dynamically generated pagesheet brings along a bad namespace. Invisible, but deadly nevertheless :( Strange fact: a very meaningful paginator exception message gets folded into an utterly

Re: SOLVED [Re: Paginator with dynamic page sheet?]

2005-09-09 Thread Sandor Spruit
Jorg Heymans wrote: Sandor Spruit wrote: Just in case anyone cares: the point is drumrole NAMESPACE /drumrole A dynamically generated pagesheet brings along a bad namespace. Invisible, but deadly nevertheless :( Strange fact: a very meaningful paginator exception message gets folded into an

Re: SOLVED [Re: Paginator with dynamic page sheet?]

2005-09-09 Thread Jorg Heymans
Sandor Spruit wrote: As soon as I've resolved some final issues (high priority!), I've planned to see what happens with 2.1.8-dev. Or is the new stacktrace stuff moved into 2.2-dev only? Sylvain ported it to 2.1-dev as well, i'm using it as we speak (not that i get many stacktraces though

Re: Combining SQLTransformer and Paginator?

2005-09-09 Thread Irv Salisbury
We have written an SQLTransformer that already does this. We started over from scratch and wrote an SQLTransformer with batching, transactions, XML CLOB support, and paging. It is based on XMLBeans, so I don't know if that would be a problem. We tried to donate it awhile ago, but there didnt' seem

Re: forms + binding in repeater + bean + String[] type

2005-09-09 Thread Mark Lundquist
On Sep 9, 2005, at 1:01 AM, Joose Vettenranta wrote: Hi, I have bean like this: class Bean { private Collection foo = new ArrayList(); public addItem (String[] item) { ths.foo.add(foo); } public getFoo() {..} .. } in binding file, is iti possible to bind to that datatype, or do I

Accessing the union type widget value

2005-09-09 Thread baskar.ganesh
Hi all, Can anyone tell me how can we access the union widget from the flowscript? I have created a definition file as follows:- fd:form xmlns=http://apache.org/cocoon/forms/1.0#definition xmlns:i18n=http://apache.org/cocoon/i18n/2.1

Re: Accessing the union type widget value

2005-09-09 Thread Jason Johnston
[EMAIL PROTECTED] wrote: Hi all, Can anyone tell me how can we access the union widget from the flowscript? I have created a definition file as follows:- fd:form xmlns=http://apache.org/cocoon/forms/1.0#definition; xmlns:i18n=http://apache.org/cocoon/i18n/2.1;

RE: Accessing the union type widget value

2005-09-09 Thread baskar.ganesh
Thanks Jason. I can able to access the widget now... -Original Message- From: Jason Johnston [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 7:14 PM To: users@cocoon.apache.org Subject: Re: Accessing the union type widget value [EMAIL PROTECTED] wrote: Hi all, Can

Using Cocoon as a SOAP Client

2005-09-09 Thread Christoph Hermann
Hello, is there an easy way to use cocoon as a SOAP Client? I found the SOAP Logicsheet (http://wiki.apache.org/cocoon/SOAPLogicsheet) but what i would like to have is some sort of SOAPTransformer or Generator which acts as SOAP Client. What i want to do is fetch some XML Data via an SOAP Request

Re: Using Cocoon as a SOAP Client

2005-09-09 Thread Bertrand Delacretaz
Le 9 sept. 05, à 16:04, Christoph Hermann a écrit : ...is there an easy way to use cocoon as a SOAP Client?.. Did you have a look at http://wiki.apache.org/cocoon/FlowAndWebServices ? I don't know how current it is, or even it it works, but it looks promising. -Bertrand smime.p7s

Re: [GT2005] Cocoon GT Talks!

2005-09-09 Thread Lars Huttar
Lars Huttar wrote: To be fair, I should say that I haven't decided for sure whether I will be attending GT, even if talk #12 were accepted. So that may have some weight in your decisions. Also, my talk might work better as a shorter session, e.g. split a session with #9. Lars

Re: negate match

2005-09-09 Thread David
Lars Huttar wrote: David wrote: Tony Collen wrote: Tony Collen wrote: Hmm, it actually might not be all that easy. The RegexpURIMatcher uses the org.apache.regexp package. Details about the syntax are at: http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html and it seems

How to evaluate an xpath expression against a dom tree in flow ?

2005-09-09 Thread Marc Salvetti
Hello, I've been using flow with cforms for a while and the framework is great, but one thing that i found really uneasy is navigating in the dom tree with the dom api. For exemple, i often do things like : users =

Re: negate match

2005-09-09 Thread Joose Vettenranta
Now I wanted to change it so certain pages are never served from the cache because they are dynamic. If I go the route you recommended I would have to write: -- if ( live site request and one of the pages that we do not want to serve from cache) { // No cache.