Hi,

your last version (the one using inter-component events) works fine if you pass ModalWindowPage PageReference instead of page instance, i.e:


public ModalWindowPage(final PageReference pageReference){
            add(new AjaxLink("btn") {
                /**
                 *
                 */
private static final long serialVersionUID = -3306323258099384492L;

                @Override
                public void onClick(AjaxRequestTarget target) {
send(pageReference.getPage(), Broadcast.EXACT, "ModalWindowPage value");
                    ModalWindow.closeCurrent(target);
                }
            });
        }

I think that passing page instance causes some serialization problem.

Hi Marieke ,

I've tried your code and I have your same problem. Tomorrow I will try to investigate further and maybe I will create an issue.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to