Re: [Wicket-user] Global, Thread specific Property

2006-11-04 Thread Matej Knopp
Maybe I don't quite get your problem. But. You are saying that you use Wicket 2. Why don't you do something like this? class MyPage { public MyPage(PageParameters parameters) { this.parameters = parameters; } public PageParemeters getParameters() { return parameters; } } class M

Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Eelco Hillenius
. > > 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: wicket-user@lists.sourceforg

Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
sendet: Freitag, 3. November 2006 18:19 > An: wicket-user@lists.sourceforge.net > 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 t

Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Eelco Hillenius
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 stor

Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
sendet: Freitag, 3. November 2006 17:44An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Global, Thread specific Property First of all why are you using so many pageparams?Is it that you have to push state to the browser constantly?RequestCycle.get().getR

Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Johan Compagner
First of all why are you using so many pageparams?Is it that you have to push state to the browser constantly?RequestCycle.get().getRequest().getRequestParameters().getParameters()johan On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: Hi,i've got a problem and i dont know how to solve it. I w

Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Roland Kaercher > Gesendet: Freitag, 3. November 2006 14:42 > An: wicket-user@lists.sourceforge.net > Betreff: Re: [Wicket-user] Global, Thread specific Property > &

Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Roland Kaercher
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

[Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
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