On Mon, Jan 11, 2010 at 6:07 PM, Ray Davis <[email protected]> wrote: > FWIW, as a Sling newcomer I got tripped up by the same code in Sling's > RequestData class when I tried to mix in some request parameters in the > usual way. This seemed to put a sizable dent in the usefulness of > SlingHttpServletRequestWrapper, but I didn't have time to pursue the matter > then.
I have also gone down that road once or twice, trying to modify request parameters before forwarding a request to another servlet. However, I find that I usually can achieve what I want by implementing a SlingPostProcessor. The SlingPostServlet does not persist any data before the PostProcessors are run, so I'm able to modify/revert any operations here. -- Vidar S. Ramdal <[email protected]> - http://www.idium.no Sommerrogata 13-15, N-0255 Oslo, Norway + 47 22 00 84 00 / +47 21 531941, ext 2070
