cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cocoon.erard" <>
Subject forms with ajax and cinclude
Date Fri, 21 Sep 2007 14:08:27 GMT

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

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.



<include:include src="cocoon:/part/checkCustomerData" />
<!-- div class="columns4">    
   <span class="title"><dbI18n:text>CUSTOMER_DATA</dbI18n:text></span>
            <td class="label"><ft:widget-help-label id="bcNr"/></td>
            <td class="field"><ft:widget id="bcNr"><fi:styling maxlength="5"/></ft:widget></td>
            <td class="label"><ft:widget-label id="type"/></td>
            <td class="field"><ft:widget id="type" /></td>
          <tr class="alt">
            <td class="label"><ft:widget-label id="accountNo"/></td>
            <td class="field"><ft:widget id="accountNo"><fi:styling maxlength="16"/></ft:widget></td>
            <td class="label"><ft:widget-label id="branchNo"/></td>
            <td class="field"><ft:widget id="branchNo"><fi:styling maxlength="3"/></ft:widget></td>

            <map:generate type="jx" src="pages/forms/{1}_template.xml"/>
            <map:transform type="cinclude" />   
            <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 type="dbi18n">
              <map:parameter name="locale" value="{../locale}" />
            <map:serialize type="xml" />

QuickLine WebMail -

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

View raw message