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