Agreed. Eelco
On 8/25/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > we can change it, but i think we can only do that in 2.0 (maybe 1.3) > because i can think of pieces of code that depend on it and don't test for > null anymore because that can't happen... > (i know i have such pieces of code..) > > johan > > > > > On 8/25/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > I thought about that myself too. I'd be fine letting > > RequestCycle.get(), Session.get() and Application.get() return null if > > the thread local is not set. What do others think of this? > > > > Eelco > > > > > > On 8/25/06, Jaime De La Jara < [EMAIL PROTECTED]> wrote: > > > Hi, I was wondering why Session.get() throws a WicketRuntimeException if > the > > > session does not exists, in my app I define an AuthorizationStrategy and > I'm > > > also using some spring interceptors where I get a user object that is > saved > > > in the session but I had to include a try/catch block in each case to > > > prevent a NEP in the former case. If the session is null why it does not > > > return it? > > > > > > Thanks. > > > > > > Jaime. > > > > > > > > > ________________________________ > > > Do you Yahoo!? > > > Get on board. You're invited to try the new Yahoo! Mail. > > > > > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, > security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > _______________________________________________ > > > Wicket-user mailing list > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
