Hi
You should look in the mailing list archives at the msgs dealing with "request-param"
Hope it helps


Alex

At 20:28 31/07/2003 -0500, you wrote:
hi, new to cocoon. looking at a couple of books and the example sitemap.
but what i can't figure out for the life of me is how to get at the
request parameters that i get in a GET request (it could be POST as
well). and propagate it in the cocoon:// protocol.

i have something like this..

(i know some of these need to be resources.. but i need them public for
right now)

--------------- sitemap snippet --------------

<map:match type="wildcard" pattern="one.xml">
<map:generate type="customGeneratorTypeOne"/>
</map:match>

<map:match type="wildcard" pattern="two.xml">
<map:generate type="customGeneratorTypeTwo"/>
</map:match>

<map:match type="wildcard" pattern="combined.xml">
  <map:aggregate>
    <map:part src="cocoon://one.xml"/>
    <map:part src="cocoon://two.xml"/>
  </map:aggregate>
  <map:transform type="xslt" src="combined.xsl">
  <map:serialize type="xml"/>
</map:match>

--------------- end sitemap snippet --------------


now, when i pass combined two parameters as such: http://whathaveyou:8080/cocoon/combined.xml?oneParam=1&twoParam=2 i need those available to the corrseponding generators as parameters

any ideas?

thanks,
anoop.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to