cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Hoskens" ...@schaubroeck.be>
Subject Flow
Date Wed, 28 Jan 2004 12:10:32 GMT
(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" <cromosom@gmx.net>
To: <users@cocoon.apache.org>
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 javascriptflow 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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

Mime
View raw message