On 31 Jul 2003 20:28:13 -0500, "Anoop Aryal" <[EMAIL PROTECTED]>
said:
> 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)

You can use the request parameter input module, like so:

 <map:match pattern="foo.html">
   <map:generate src="foo"/>
   <map:transform src="foo.xsl">
     <map:parameter name="foo" value="{request-param:foo}"/>
   </map:transform>
   <map:serialize/>
  </map:match>

HTH.

Regards, Upayavira

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

Reply via email to