cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Gianni <>
Subject Re: Mixing flow resources
Date Mon, 20 Mar 2006 13:14:31 GMT
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"/>

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,

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:
For additional commands, e-mail:

View raw message