cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: HTMLGenerator and Request Params
Date Wed, 11 Feb 2004 21:32:13 GMT
On 05.02.2004 21:21, Brent L Johnson wrote:

> Im attempting to pass some parameters through to
> the src of the HTML generator and I'm getting an
> IOException.  Here is my sitemap snippet:
> <map:match pattern="test.xml">
>     <map:act type="request">
>         <map:parameter name="parameters" value="true"/>
>         <map:generate type="html"
> src="{searchParams}"/
>         <map:transform src="styles/test.xsl"/>
>         <map:serialize type="xml"/>
>     </map:act>
> </map:match>
> I try to access this by going to
> http://localhost/test.xml?searchParams=my%20param
> I get an error that says "Could not get resource
> param"
> It looks like it decodes the %20 and turns it back into a normal space
> but the generator does NOT like that.  Does anyone have any suggestions
> as to how I can get around this problem?  If I just hardcode my%20param
> for the generator it works just fine.

The request parameters are not decoded back in the sitemap. Does the raw 
request param module work for you? See for an example. 
Unfortunately there is another bug open, that states that it might not 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message