Hi Im a little curious since I recall doing this earlier.. Now it seems that PageLink onClick never gets called why is that?
See snip below Html: <INPUT type="submit" wicket:id="openword" value="Åben i word" /> Java snip: myReport = new PageLink("openword", new IPageLink() { public Page getPage() { Page myPop = null; try { myPop = new PopupReport(reportModel); } catch (Exception e) { // TODO Auto-generated catch block throw new RuntimeException(e); } return myPop; } public Class getPageIdentity() { return PopupReport.class; } }) { public void onClick() { generate_errormsgs = true; super.onClick(); } protected void onRender(MarkupStream markupStream) { // TODO Auto-generated method stub } PopupSettings popupSettings = new PopupSettings(PageMap .forName("popuppagemap"), PopupSettings.MENU_BAR | PopupSettings.TOOL_BAR | PopupSettings.SCROLLBARS | PopupSettings.RESIZABLE).setHeight(500).setWidth(700); myReport.setPopupSettings(popupSettings); pagenavigation.add(myReport); regards Nino _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user