cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: Continuations with dynamically created forms?
Date Wed, 30 May 2007 14:24:29 GMT
Thanks Niels but I am not sure that is the fault..
I now get the error:
org.xml.sax.SAXParseException: The value of attribute "action"
associated with an 
element type "ft:form-template" must not contain the '<' character.
when I try and use the CDATA wrapper in the stylesheet:
<ft:form-template action="<![CDATA[#{$continuation/id}.continue}]]>"
I think there might be a deeper problem.

>>> Niels van Kampenhout <> 2007/05/30 12:23:38
PM >>>

Derek Hohls wrote:
> Working with Cocoon 2.1.8
> I am getting the following error when I try to reference the 
> continuation variable, used for the form action.
> javax.xml.transform.TransformerException: Could not find variable 
>   with the name of continuation
> Basically, I am calling the form creation match via flowscript,
> followed by a call to the form display match.  (Very standard
> Each of these matches then generates the form definition and 
> template (respectively) using information sourced from a database.  
> If I take the result from each of the two matches ie. one XML file
> with the form definition and one with the form template, and then
> call these static files in similar way from flowscript, the 
> continuation
> number is generated as expected.
> How do I go about creating/referencing a continuation with a dynamic
> form creation option?

Not sure but the error you see might be caused by a # or $ in 
"#{$cocoon/continuation/id}" getting lost in the dynamic form creation

process, so if that is the case try putting it inside CDATA, e.g.


Hope this helps,

To unsubscribe, e-mail: 
For additional commands, e-mail: 

This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice 
CSIR Copyright, Terms and Conditions 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message