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. Ge

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 = document.getDocumentElement().getElementsByTagName("users").item(0).getElemen

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 l

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 Unfortunate

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 Descript

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: 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 a

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:- http://apache.org/cocoon/forms/1.0#definition"; xmlns:i18n="http://apache.org/cocoon/i18n/2.1"; xmlns:fd="http://apache.

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:-   http://apache.org/cocoon/forms/1.0#definition"   xmlns:i18n="http://apache.org/cocoon/i18n/2.1"   xmlns:fd="http://apache.org/cocoon/forms/1.0#d

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 ha

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' se

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: 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 NAMESPACE 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 N

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 NAMESPACE > > 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 s

Re: negate match

2005-09-09 Thread Upayavira
I tend to achieve this with: ... 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 PHP: ^((?!bob).)*$ and I read that this should work in Java: ((?!bob).)* but it does

SOLVED [Re: Paginator with dynamic page sheet?]

2005-09-09 Thread Sandor Spruit
Just in case anyone cares: the point is NAMESPACE 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. Sandor Sandor Spruit w

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

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. See http://cocoon.apache.org/2.1/userdocs/forms/validation.html#General+remarks for some more information. Greetz, Jeroen Daniel Curran wrote: When I apply this formatting

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 : > > > ... > >   > > Use > > -Bertrand