Hallo,
again hitting real world...
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?)
When using "request-param" module the result is the very same.
As this is with cocoon 2.2 (1.0.0-RC1) did this change form 2.1.x?
(where I used such pattern sucessfully in the past (this was with some 2.1.7 if
I remember correctly))
Any ideas?
Thanks for any help
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]