Hi, I have run the upgrade Ant task upgrade script for cForms, upgrading from 2.1.3 to 2.1.5, but I now get a "Generator already set. Cannot set generator 'jx' at [unknown location]". I get the error when I do something like this in flowscript:
registration()
{
try
{
...
form.showForm(registration-display-pipeline);
}
catch(e){e.toString();}
cocoon.sendPage("registration-success-pipeline");
}
The matching pipeline is :
<map:pipeline>
<map:match pattern="teamRegistration">
<map:call function="registration"/>
</map:match>
<map:match pattern="teamRegistration">
<map:call function="registration"/>
</map:match>
<map:match pattern="*.continue">
<map:call continuation="{1}"/>
</map:match>
<map:call continuation="{1}"/>
</map:match>
<map:match pattern="registration-display-pipeline">
<map:generate src=""/>
<map:transform type="forms"/>
<map:transform type="i18n">
<map:parameter name="locale" value="en-US"/>
</map:transform>
<map:transform src="">
<map:parameter name="contextPath" value="{request:contextPath}"/>
<map:parameter name="servletPath" value="{request:servletPath}"/>
<map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
<map:parameter name="file" value="forms/team_registration_template.xml"/>
<map:parameter name="remove" value="{0}"/>
</map:transform>
<map:transform src=""/>
<map:serialize/>
</map:match>
<map:match pattern="registration-success-pipeline">
<map:generate type="jx" src=""/>
<map:transform src="">
<map:generate type="jx" src=""/>
<map:transform src="">
<map:parameter name="contextPath" value="{request:contextPath}"/>
<map:parameter name="servletPath" value="{request:servletPath}"/>
<map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
<map:parameter name="file" value="forms/team_registration_success.xml"/>
<map:parameter name="servletPath" value="{request:servletPath}"/>
<map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
<map:parameter name="file" value="forms/team_registration_success.xml"/>
<map:parameter name="remove" value="{0}"/>
</map:transform>
</map:transform>
<map:serialize/>
</map:match>
</map:pipeline>
</map:match>
</map:pipeline>
Can someone explain to me what I am doing wrong?
Thanks,
Ayana
The new MSN 8: smart spam protection and 2 months FREE* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
