I guess somehow the pages hold references to each other so if you
press the button on the inner page, and do your stuff, after that
wicket serializes that page it also encounters the other pages and
those are also serialized.
On 11/12/08, Stefan Lindner <[EMAIL PROTECTED]> wrote:
> I have a ModalWindow with a page as content, not a panel. Wn Ajax button on
> this modal window starts another modal window inside the first modal window
> (Page as content not a panel). This second modal window holds a Button. The
> Button has an AjaxEventBehavior
>
> Button mybutton = new button(...);
> mbyButton.add(new AjaxEventBehavior("onclick") {
> private static final long serialVersionUID = 1L;
> @Override
> public void onEvent(AjaxRequestTarget target) {
>
> each time the button is clicked an onEvent is called, ab bunch of
> Component.writeObject is fired. But not only the components of the current,
> sedonc, top level ModalWindow are serialized and stored. All components of
> all underlying pages call writeObject().
> In Wicket 2.0 this was not the case, in 1.4 trunk it is.
> Is this a bug or a feature? Does the button try something like a get/post
> even if there is no form surrounding it?
>
> Stefan
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]