On 5/16/07, James Renfro <[EMAIL PROTECTED]> wrote:
> But the javadoc says that it's not recommended to call
> getHttpServletRequest.
The warning is there to guide people away from old habits. We have
PageParameters for request parameters, and other mechanisms. Just like
storing things directly in
no, we do not expose attributes, only parameters.
doing that piece of code below should be fine.
-igor
On 5/16/07, James Renfro <[EMAIL PROTECTED]> wrote:
Does anyone know if Wicket exposes the HttpServletRequest's attributes
somewhere? I can get them through
((WebRequest)getRequest()).getHt
Does anyone know if Wicket exposes the HttpServletRequest's attributes
somewhere? I can get them through
((WebRequest)getRequest()).getHttpServletRequest().getAttribute("myattr");
But the javadoc says that it's not recommended to call
getHttpServletRequest.
Thanks,
James.
--
James Renfro
Pro