cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: Flow
Date Thu, 29 Jan 2004 09:23:54 GMT
On Wed, 2004-01-28 at 13:10, Jan Hoskens wrote:
> (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="..." >

Unfortunately it's not possible to use different flow implementations in
one sitemap. So you'll have to split it into two sitemaps.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message