The not-throwing exception change could go into 1.3 IMO.

Martijn

On 8/26/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> you are so humble, anyways just checked in exists() for app and session,
> seems requestcycle doesnt follow the same rules and will just return null -
> not something we should tweak in 1.x stream because of silent failure.
>
> -Igor
>
>
>
> On 8/26/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > If I were the teacher, my student passed me by far ;)
> >
> > Eelco
> >
> > On 8/26/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > > Eelco wants company.
> > >
> > >
> > > On 8/26/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > >
> > > > remind me again why we let smartasses in?
> > > >
> > > >
> > > > -Igor
> > > >
> > > >
> > > >
> > > >
> > > > On 8/25/06, Frank Bille <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I guess it would be more like a Session.exists() :)
> > > > >
> > > > > +1 for that. it's backportable.
> > > > >
> > > > >
> > > > > Frank
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 8/26/06, Jaime De La Jara < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > >
> > > > >
> > > > >
> > > > > I think Igor proposal, session.exists(), is correct and it could be
> > > added without
> > > > > any impact.
> > > > >
> > > > > Jaime.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > >i think thats better then an npe, didnt even know we were doing
> that.
> > > so
> > > > > > either this or add a session.exists() so you can test for it.
> > > > >
> > > > > > -Igor
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >  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.
> > > > >
> > > > >
> > > > > ________________________________
> > >  All-new Yahoo! Mail - Fire up a more powerful email and get things done
> > > faster.
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> -------------------------------------------------------------------------
> > > > > 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
> > > > > Wicket-user@lists.sourceforge.net
> > > > >
> > >
> 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
> > > > > Wicket-user@lists.sourceforge.net
> > > > >
> > >
> 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
> > > > Wicket-user@lists.sourceforge.net
> > > >
> 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
> > > Wicket-user@lists.sourceforge.net
> > >
> 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
> > Wicket-user@lists.sourceforge.net
> > 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
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>


-- 
Download Wicket 1.2.1 now! Embed Wicket components in your portals!
-- http://wicketframework.org

-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to