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 into the HttpSession is not recommended, but
still possible.

Not recommended does not mean illegal. Read the warning to be 'are you
sure you are thinking in the right path?'

But if you do need to access it (due to legacy, or some other
integration problem) the methods are there to grant the access. We
just don't make it easy :)

Martijn

-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[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
Programmer
IET Mediaworks, UC Davis
[EMAIL PROTECTED]
W: 530-754-5097


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user