Hi Roland, well, yes I could do that. The trick that i want to do is not to have any session involved, as with wicket 2.0 lazy session behaviour exists, and i dont want to create a session.
I fact this would be a create once per pageRequest object that can be dumped when the page is rendered - a friend suggested me that i could use WebApplication sublass with the property + corresponding getter/setter - but i dont know if this leads to concurrency issues? e.g: 2 visitors accessing same time it might be problematic? Igor, do you know if this would work ? Best Regards, Korbinian > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Roland Kaercher > Gesendet: Freitag, 3. November 2006 14:42 > An: [email protected] > Betreff: Re: [Wicket-user] Global, Thread specific Property > > Hi Korbinian, > > if I understand your Problem correctly then you could use a > custom subclass of WebSession for that purpose. > > roland > > On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > Hi, > > > > i've got a problem and i dont know how to solve it. I work with > > PageParameters and the thing that i allways have to pull > them around > > makes me sad. Is there a way how i can have a global object holding > > the current PageParameters that can be accessed without > passing in the > > PageParameters into a constructor? > > > > e.g: not matter where i want to access > > GlobalThreadSpecificObject.getParam("foo") - i can call it on any > > component or in any page... ? > > > > The reason is that i use IndexedPageParams and have panels that are > > dependent on a specific param value and also need a flexible way to > > change the number, the params are hanging on as the number of > > preceeding PageParameters can change later on > > > > Best Regards, > > > > Korbinian > > > > > > > > > ---------------------------------------------------------------------- > > --- 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=1216 > > 42 _______________________________________________ > > 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
