Thanks for the reply.
I did have a look at RawRequestParameterModule, but it doesn't work...it
doesn't keep URL encoding and returns spaces instead.
I did try an alternative/hack which seems to work. Instead of <map:part
src="servlet:/some_pipeline/{1}/{2}?q={raw-request-param:q}"/> I have used
<map:part
src="servlet:/some_pipeline/{1}/{2}?q={url-encode:{request-param:q}}"/>
It seem to work. Hope that helps someone!
Daria
Rainer Pruy wrote:
>
> Hello,
>
> please keep in mind, that using map:part will cause a new (sub) request.
> This (sub) request does not inherit any parameters from current request.
> If you want access to your current (external) request parameter "q", you
> must pass it with your src="" URL
> e.g in your case <map:part
> src="servlet:/get_ids_for_solr/{1}/{2}?q={raw-request-param:q}"/>
>
> However, you might have a look at thread "C2.2: undecoded URI params", as
> I'm experiencing problems passing URI reserved or disallowed
> characters (e.g. <space>) this way.
>
> regards
> Rainer
>
--
View this message in context:
http://www.nabble.com/Accesing-url-params-in-flow-using-servlet%3A-protocol-Cocoon-2.2-tp16092939p16126591.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]