(Stephan asked to post this in the dev maillist)
 
I've tried to just call the function (like your suggestion), but when I have
an apple  and call it, it gives an error because it looks for a _javascript_:

 org.apache.cocoon.ResourceNotFoundException: Function
"_javascript_:Package.MyClass()"

I'm thinking that I need to specify some type to tell cocoon which flow
language to use, but it seems that this feature it isn't there (yet?).

(by the way, I'm experiencing some problems with my mails, they fail to get
through and this one you're replying to isn't in my mail inbox, so never knew
it was there on the list. I'm hoping this will reach the list!)

----- Original Message -----
From: "Stephan Coboos" <
[EMAIL PROTECTED]>
To: <
[EMAIL PROTECTED]>
Sent: Wednesday, January 28, 2004 10:23 AM
Subject: Re: Flow


> Jan Hoskens wrote:
>
> >Hi,
> >
> >Is there a way to use different flow languages together (with current
setup: cocoon 2.1 cvs Head updated 26/01/2004)? Like if I'm already using
Apples and want a simple _javascript_flow for another pipeline, how do I tell
the sitemap to take apples or _javascript_ engine?
> >
> >sitemap
> >
> ><flow language="apples"/>
> ><flow language="_javascript_>
> >    ...
> ></flow>
> >
> >how do I choose between them in call tag?
> ><map:call function="..." >
> >
> >(I realize that the stuff in apples can be rewritten in _javascript_, but
that will have to wait a bit.)
> >
> >Greetings,
> >
> >Jan
> >
> >
> <map:flow language="apples"/>
> <map:flow language="_javascript_">
>     ...
> </map:flow>
> ...
> <map:call function="yourJsFunctionHere"/>
> ...
> <map:call function="your.path.to.your.apples.ClassHere"/>
>
> This doesn't work?
>
> Regards
> Stephan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to