On 16.03.2008 15:59, Rainer Pruy wrote:

I'trying to get some request parameters to their final destination (a local 
generator)
however I always end up with decoded ones.

The whole topic starts out from a js function handling a form and at some point 
is calling (showing the effective resulting string here)

            cocoon.redirectTo("search?modeinfo=a+b", {});

(The '+' resulting from using URLEncode("a b"))

This redirect call ends up with a pipeline resulting in the following generator 
call:

               <map:generate 
src="servlet:/page/research/{1}?modeinfo={raw-request-param:modeinfo}" type="jx"/>

In the (debug) log this results in the following line:

btpool0-1 DEBUG components.ServletSourceFactory - Creating source object for 
servlet:/page/research/search?modeinfo=a b

(Thus it looks like somehow "raw-request-param" does not return undecoded 
parameters?)

Can you search the archives? I think there was a problem with raw request param input module.

Joerg

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

Reply via email to