Hello, thanks for this hint. It solved my problem.
Regards, Mike ---------- Original Message ---------------------------------- From: Jason Johnston <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org Date: Sat, 22 Sep 2007 08:31:05 -0600 >cocoon.erard wrote: >> Hi, >> >> I've another problem in my application. >> >> I've extracted a piece of my form template in a separate xml to have a >> module that can be reused. >> >> With this include Iinclude the commented part into my template. >> >> In the form I enabled ajax, and when I have Errors while the validation this >> errors aren't shown > > in browser for the included part. The rest is working. >> >> Regards, >> >> Mike >> >> <include:include src="cocoon:/part/checkCustomerData" /> >> >> >... >> >> >> <map:otherwise> >> <map:generate type="jx" src="pages/forms/{1}_template.xml"/> >> <map:transform type="cinclude" /> > >So looking at the order of execution here... first you have your JX >generator, which processes all the ft:* elements. And then you cinclude >another set of ft:* elements, but it's too late for them to be >processed! I think that explains what you're seeing. > >You might be able to achieve what you want by removing the cinclude step >and using a jx:import of the same URI in your template. That should >pull in the external content and process it as JX at the same time. > > >> <map:transform type="browser-update"/> >> <map:transform src="stylesheets/forms-style.xsl"> >> <map:parameter name="dojo-resources" >> value="{servlet:ajax:/resource/external/dojo}" /> >> <map:parameter name="forms-resources" >> value="{servlet:forms:/resource/external/forms}" /> >> </map:transform> >> <map:transform type="dbi18n"> >> <map:parameter name="locale" value="{../locale}" /> >> </map:transform> >> <map:serialize type="xml" /> >> </map:otherwise> >> >> >> ____________________________________________ >> QuickLine WebMail - http://www.QuickLine.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > ____________________________________________ QuickLine WebMail - http://www.QuickLine.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]