Validation de formulaire Ajax

2008-05-14 Thread andre . davignon
Bonjour, J'ai un formulaire Ajax (ft:form-template method=POST ajax=true action=#{$cocoon/continuation/id} avec le flowscript suivant : var form = new Form(cocoon.parameters.form); form.createBinding(cocoon.parameters.binding); ... form.load(document); form.showForm(cocoon.parameters.show);

Re: Validation de formulaire Ajax

2008-05-14 Thread Marc Salvetti
Bonjour André, est-ce que tu as bien un pipe pour la continuation. Dans mon appli j'ai plutot qq chose comme ca et ca marche bien : ft:form-template action=continue.html method=post ajax=true ft:widget id=continuation-idfi:styling type=hidden/fi:styling

Re: ImageReader displays path instead of image. Very annoying.

2008-05-14 Thread Bhavya Sharma
Try to increase your web server mamory(like tomcat) usually it comes if there is lack of memory for server where u deploy your code On 5/12/08, Joerg Heinicke [EMAIL PROTECTED] wrote: On 11.05.2008 20:19, shai200 wrote: I'm using the following ImageReader component configuration:

RE: How to replace Xalan with Saxon in Cocoon?

2008-05-14 Thread Philip Fennell
Another thing to be aware of is disable-output-escaping with Saxon8/9 and Cocoon. Although disable-output-escaping is depricated in XSLT 2 in favour of character maps, if you do use it, it won't work. In the result, the characters that you are attempting to not-escape get wrapped in processing

2.2 OutOfMemoryError

2008-05-14 Thread Andre Thenot
Hello, I've been noticing the following error when deploying my cocoon WAR more than about 6-7 times without restarting the app server. This stack trace occurs on OS X and on Linux with JDK 1.5.0 in both cases. I am running JBoss 4.2.2GA; the memory settings are -Xms128m -Xmx512m. Should

Re: 2.2 OutOfMemoryError

2008-05-14 Thread Felix Knecht
Hi Andre Hello, I've been noticing the following error when deploying my cocoon WAR more than about 6-7 times without restarting the app server. This stack trace occurs on OS X and on Linux with JDK 1.5.0 in both cases. I am running JBoss 4.2.2GA; the memory settings are -Xms128m -Xmx512m.

Re: 2.2 OutOfMemoryError

2008-05-14 Thread Luca Morandini
Andre Thenot wrote: I've been noticing the following error when deploying my cocoon WAR more than about 6-7 times without restarting the app server. This stack trace occurs on OS X and on Linux with JDK 1.5.0 in both cases. I am running JBoss 4.2.2GA; the memory settings are -Xms128m

XML binding in the default namespace

2008-05-14 Thread Robin Wyles
Hi All, I'm having trouble binding to a XML document with a declared default namespace on C2.2. I've read back over the many posts on the subject on this list, and have enabled NSPrefixes for the SAXParser as suggested, but am still having problems. Here is the document to which I am

Re: Initializing multi-value checkbox selections (Bug?)

2008-05-14 Thread Derek Hohls
Can anyone please have a look at this - not sure what the real problem is (syntax? code?) Thanks Derek On 2008/05/08 at 03:51, in message [EMAIL PROTECTED], Derek Hohls [EMAIL PROTECTED] wrote: Using Cocoon 2.1.8 I am struggling to get a multi-value form widget to show items as checked.

Re: Query Database Produce Excel Document

2008-05-14 Thread warrell harries
I have done exactly this (even under Cocoon CLI) but don't have the code to hand. It's quite straightforward except that the sendmail transformer invoked the pipeline to build the s/s which took so long that the sendmail connection was dropped. To solve this I ran one CLI to build the s/s and then

CForms Aggregator Widget--preserving line breaks in text areas

2008-05-14 Thread Paul Joseph
Hi There, I use the Text Area widget extensively in my forms and am able to enter text with line breaks, save it to the database, retrieve it etc. with no problems. However, when I use a Text Area type widget in an aggregator, I find that the Aggregator does not seem to be able to retrieve and

Re: Query Database Produce Excel Document

2008-05-14 Thread Ken Starks
If you are new to Cocoon, I would put the email requirement, and produce a (virtual) spreadsheet in the user's browser. You scheme of work can then follow the most usual Cocoon sitemap design: i) A generator (Non-XML to XML) ii) One or more Transformation steps (XML_1 to XML_2 to XML_3 to ...,

Re: 2.2 OutOfMemoryError

2008-05-14 Thread Andre Thenot
On May 14, 2008, at 6:42, Luca Morandini wrote: No matter how much you increase your PermGenSpace, sooner or later you will hit the wall (every redeploy decreases the amount of PermGenSpace available). Ok thanks, this answers my question. I'll simply restart the server at each deployment

WebContinuation is null when using a custom Generator

2008-05-14 Thread shai200
I'm trying to use a flowscript with a custom generator (not a JXTemplate), so I'm trying to get access to the continuation Id. But when I invoke WebContinuation kont = FlowHelper.getWebContinuation(objectModel); in the setup() method, kont is null... how do I retrieve it? Do I need to work with

Re: CForms Aggregator Widget--preserving line breaks in text areas

2008-05-14 Thread Joerg Heinicke
On 14.05.2008 13:00, Paul Joseph wrote: However, when I use a Text Area type widget in an aggregator, I find that the Aggregator does not seem to be able to retrieve and display any information in any of the widgets that make up the aggregator, IF I enter even a single line break in the Text

Re: WebContinuation is null when using a custom Generator

2008-05-14 Thread Joerg Heinicke
On 14.05.2008 21:08, shai200 wrote: I'm trying to use a flowscript with a custom generator (not a JXTemplate), so I'm trying to get access to the continuation Id. But when I invoke WebContinuation kont = FlowHelper.getWebContinuation(objectModel); in the setup() method, kont is null... how do

Re: WebContinuation is null when using a custom Generator

2008-05-14 Thread shai200
My custom generator's output is xml, which then goes into further transformations. I want to have flow between my pages. For now, what I do is I have a JXTemplateGenerator that spits out a very simple XML: flowform#{$cocoon/continuation/id}/form/flow I then take this continuation ID and place