cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <>
Subject Passing request params to a flowscript thru a resource?
Date Tue, 02 Dec 2003 17:35:27 GMT

because I've got no answer for my question postet in the users list 
before, I will try it on the dev list...

I have the following sitemap fragment:

  <map:resource name="main">
     <map:call function="main"/>

<map:flow language="javascript">
 <map:script src="flows/myScript.js"/>

     <map:match pattern="">
        <map:call resource="main"/>

In the match section I'm calling the resource 'main' which is calling a 
flowscript function itself. But if I do that this way I don't have 
access to the request params in the flowscript because cocoon.request... 
returns nothing! How do I activate passing request parameters thru 
resources to a flowscript?

Thank you.


View raw message