cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ayana joseph" <jo_yan...@hotmail.com>
Subject GENERATOR ALREADY SET ERROR
Date Fri, 30 Jul 2004 23:06:03 GMT
<html><div style='background-color:'><DIV class=RTE>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]".&nbsp; I get the error when
I do something like this in flowscript:</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>registration()</DIV>
<DIV class=RTE>{</DIV>
<DIV class=RTE>&nbsp; try</DIV>
<DIV class=RTE>&nbsp; {</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp;&nbsp; ...</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp;&nbsp; form.showForm(registration-display-pipeline);</DIV>
<DIV class=RTE>&nbsp; }</DIV>
<DIV class=RTE>&nbsp; catch(e){e.toString();}</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>cocoon.sendPage("registration-success-pipeline");</DIV>
<DIV class=RTE>}</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>The matching pipeline is :</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&lt;map:pipeline&gt;<BR>&nbsp;&lt;map:match pattern="teamRegistration"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:call function="registration"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/map:match&gt;</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp; &lt;map:match pattern="*.continue"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:call continuation="{1}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/map:match&gt;</DIV>
<DIV class=RTE><BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;map:match
pattern="registration-display-pipeline"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:generate src="forms/team_registration_template.xml"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:transform type="forms"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:transform type="i18n"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="locale" value="en-US"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/map:transform&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="contextPath" value="{request:contextPath}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="servletPath" value="{request:servletPath}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="sitemapURI" value="{request:sitemapURI}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="file" value="forms/team_registration_template.xml"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="remove" value="{0}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/map:transform&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:transform src="resources/forms-samples-styling.xsl"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:serialize/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/map:match&gt;</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp; &lt;map:match pattern="registration-success-pipeline"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:generate type="jx" src="forms/team_registration_success.jx"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;map:transform
src="context://samples/common/style/xsl/html/simple-page2html.xsl"&gt;&nbsp;</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="contextPath" value="{request:contextPath}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="servletPath" value="{request:servletPath}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="sitemapURI" value="{request:sitemapURI}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="file" value="forms/team_registration_success.xml"/&gt;</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:parameter name="remove" value="{0}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/map:transform&gt;</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;map:serialize/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/map:match&gt;&nbsp;&nbsp; <BR>&nbsp;&nbsp; &lt;/map:pipeline&gt;</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Can someone explain to me what I am doing wrong?</DIV>
<DIV class=RTE>Thanks,</DIV>
<DIV class=RTE>Ayana</DIV>
<DIV class=RTE>&nbsp;</DIV></div><br clear=all><hr>The new
<a href="http://g.msn.com/8HMBEN/2737??PS=47575">MSN 8:</a> smart spam protection
and 2 months FREE* </html>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message