Hello, Thanks for the response ! I'm not sure if the following code is what you want. I just update the pageValue variable on the HomePage in the abstract function 'linkClicked'. Following code is inside the HomePage constructor: pageValue = "initial modal value"; final ModalWindow window = new ModalWindow("window"); window.setPageCreator(new ModalWindow.PageCreator() { public Page createPage() { return new ModalWindowPage(getPage().getPageReference()) { @Override public void linkClicked(String value) { System.out.println("setting pageValue to [" + value + "]"); pageValue = value; } }; } }); window.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { public void onClose(AjaxRequestTarget target) { System.out.println("getting pageValue [" + pageValue + "]"); } });
I get the following console output: setting pageValue to [ModalWindowPage value] getting pageValue [page value] Thanks for the hint tot the inter-component events. Should I then pass the Panel or Page as IEventSink to the constructor of the ModalWindowPage so I can use it in the send-function? I'm afraid I will forget to catch the event with the onEvent function. With the abstract function I was sure that the event was catched... How come this did work in wicket 1.4 and now functionality is lost? Thanks for any help ! Marieke Vandamme -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-ModalWindow-with-page-abstract-functions-do-not-update-model-correct-tp3596526p3598583.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org