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
.
>
> 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
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
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
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
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
> -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
>
&
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
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