Ok, thank you! So I need to rethink the design of our ModalWindows use.
Stefan
-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 25. November 2008 18:52
An: users@wicket.apache.org
Betreff: Re: ModalWindow and page serialization in 1.4RC1
arent object?
>
> Stefan
>
> -Ursprüngliche Nachricht-
> Von: Matej Knopp [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 25. November 2008 18:43
> An: users@wicket.apache.org
> Betreff: Re: ModalWindow and page serialization in 1.4RC1
>
> On Tue, Nov 25, 2008 at
Return p;
>}
>}
>
> All underlying pages are serialized.
Of course they are. Anonymous classes create implicit reference to
outerclass. This is normal behavior.
-Matej
>
> Stefan
>
>
> -----Ursprüngliche Nachricht-----
> Von: Matej
@wicket.apache.org
Betreff: Re: ModalWindow and page serialization in 1.4RC1
On Tue, Nov 25, 2008 at 6:37 PM, Stefan Lindner <[EMAIL PROTECTED]> wrote:
> No, it does not contain any references to the outer page. I had a similar
> case last week, so that this was the first ascpect to investig
nothing else to force behavior
};
Return p;
}
}
All underlying pages are serialized.
Stefan
-Ursprüngliche Nachricht-
Von: Matej Knopp [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 25. November 2008 15:01
An: users@wicket.apache.org
Bet
Does your page inside modal window contain reference to outer page?
-Matej
On Tue, Nov 25, 2008 at 1:43 PM, Stefan Lindner <[EMAIL PROTECTED]> wrote:
> I have a ModalWindow with a page inside it (constructed via
> modalWindow.setPageCreator). The page contains a lot of AjaxButtons etc.
>
> If the
I have a ModalWindow with a page inside it (constructed via
modalWindow.setPageCreator). The page contains a lot of AjaxButtons etc.
If the content page is constructed as a stateless page (new MyPage()
without parameters) the page (content of modal window) gets Serialized
on every klick onto any A