Override wicket.protocol.http.WebApplication#getDefaultRequestCycleFactory()
Eelco On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > Hi Eelco, > > this might work! But how can i provide a custom request cycle? I found no > info so far, and wiki also tells nothing. > > Best Regards, > > Korbinian > > > -----Ursprüngliche Nachricht----- > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Im Auftrag > > von Eelco Hillenius > > Gesendet: Freitag, 3. November 2006 18:19 > > An: [email protected] > > Betreff: Re: [Wicket-user] Global, Thread specific Property > > > > Such things typically are best done in RequestCycle. You can > > provide a custom request cycle, and then override > > onBeginRequest to set your thread scoped variable, and > > onEndRequest to clean it up again. You can access the request > > cycle by doing RequestCycle.get(), though you might also > > decide to store your variable in some other thread local with > > static access. > > > > Eelco > > > > > > 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 > ------------------------------------------------------------------------- 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
