>Then in your sitemap, you can use {request-param:foo} or
{request-param:bar} to get the values for
>foo and bar as you previously described.

hey thanks for the help, i appreciate it - one more thing, could elaborate
on the preceeding example?

is this the correct sitemap syntax?

      <map:match pattern="test.pdf">
         <map:request-parameter name="foo" value="{request-param:foo}"/>
         <map:request-parameter name="bar"    value="{request-param:bar}"/>
         <map:generate type="file"
src="cocoon:/test.xml?foo={foo}&amp;bar={bar}"/>
         <map:transform type="xslt-saxon" src="test.xsl"/>
         <map:serialize type="fo2pdf"/>
      </map:match>

thanks

----- Original Message -----
From: "Tony Collen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 12:19 PM
Subject: Re: multiple request parameters? how to?


> John Bresnik wrote:
> > thanks. do you have an example of it?
>
>
> Yep,
>
> In your WEB-INF/cocoon.xconf file, you probably have something like:
>
>    <input-modules>
>      ...
>      <component-instance
class="org.apache.cocoon.components.modules.input.RequestParameterModule"
> logger="core.modules.input" name="request-param"/>
>      ...
>    </input-modules>
>
>
> If this isn't there, add it. It might only be in 2.1 AFAIK.
>
> Then in your sitemap, you can use {request-param:foo} or
{request-param:bar} to get the values for
> foo and bar as you previously described.
>
>
> Note to self: document more inputmodules!
>
> Tony
>
>
> ---------------------------------------------------------------------
> 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