Hi Andrew,
I think my diagnosis on your javaflow issue is correct, but in cocoon 2.1.9-dev it explicitly says :

org.apache.avalon.framework.configuration.ConfigurationException: Only one <map:flow> is allowed in a sitemap. Another one is declared at sitemap.xmap:420:37.

So sorry, you can't mix two flow enginges. I based my assumption on a partial support i've seen in code but i believe now it's not there anymore.

Simone

Simone Gianni wrote:

Hi Andrew,
supposing you have a com.mycompany.javaflow.Login class, you have to put this class either under WEB-INF/classes/com/mycompany/javaflow/Login.class or in a jar inside WEB-INF/lib and then use the fully qualified name inside the map:script, for example :

 <map:flow language="java">
    <map:script src="com.mycompany.javaflow.Login"/>
 </map:flow>

This seems to be your error, the fact that there is no "Login" class found. I haven't done it personally, but shouldn't be a problem to use both technologies in a single sitemap.

Hope this helps,
Simone

Andrew Madu wrote:

Hi,
can anyone tell me whether it is possible to mix both JavaFlow


and flowscript resources in a sitemap? For example when I do:

  <map:flow language="java">
     <map:script src="Login"/>
  </map:flow>
<map:flow language="javascript">
     <map:script src="flow/userOrder.js"/>
 </map:flow>

I get an error message informing me that the class file Login does not exist. How can I manage both in the same sitemap?

regards

Andrew


--
Simone Gianni

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to