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" <[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 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 [EMAIL PROTECTED] [EMAIL PROTECTED]
