<a href="#" wicket:id="myLink">click here</a>The following snippet shows how to pass a parameter from the Page creating the Page to the Page responded by the Link.
add(new BootstrapLink<MyObject>("link", listItem.getModel(), Type.Primary ) { public void onClick() { MyObject obj = getModelObject(); setResponsePage(new MyPage(obj)); }@author miha
|
|