Re: [Wicket-user] HttpServletRequest's attributes?

2007-05-24 Thread Martijn Dashorst
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

Re: [Wicket-user] HttpServletRequest's attributes?

2007-05-16 Thread Igor Vaynberg
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

[Wicket-user] HttpServletRequest's attributes?

2007-05-16 Thread James Renfro
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