[opencms-dev] getParameter while in Collector

Graeme Kidd coolkidd3 at hotmail.com
Mon May 17 16:41:03 CEST 2010


Hi,

I am creating a collector where on the param string I want to place some macros. For example I might want something like this:
"firstName=John|lastName=%(param.lastName)"

What I would then like to do is resolve the macro with information from the HttpServletRequest getParameter() method. For example when I pass this into the URL:
http://www.test.com/collectPeople.html?lastName=Doe

The collector param should pick this up and become:
"firstName=John|lastName=Doe"

The problem I am having is that I cant seem to get access to the HttpServletRequest within my extended CmsCollectorData class.

My only idea would be to try and catch the collect’s param on the JSP page before the collector picks it up.

Apart from that any ideas how I can access the request object?

Thanks,
Graeme
 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now


More information about the opencms-dev mailing list