cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Мария Григорьева <>
Subject RE: how to pass sitemap params to javaflow?
Date Mon, 01 Sep 2008 15:36:39 GMT
I've found the decision!!!


Int id = getParameters().getParameterAsInteger("id");


But in the classpath you should add Avalon-framework-api.jar



From: Mark Lundquist [] 
Sent: Monday, September 01, 2008 7:23 PM
Subject: Re: how to pass sitemap params to javaflow?



On Sep 1, 2008, at 6:03 AM, Мария Григорьева wrote:

In sitemap I have the parameter:


                    <map:match pattern="main/*/*">

                               <map:call function="{2}">


                                               <map:parameter name="id"




I need to pass it to the javaflow.


In flowscript I used : var id =;


Help please!


That looks right to me.  But get rid of the <use-request-parameters>... it's
not part of <map:call> and has no effect there.  It's only for the XSLT


And speaking of <use-request-parameters> in the XSLT transformer... IMHO
it's a bad idea and you should avoid it! ;-)






View raw message