Addition:

NestedTree and ModalWindow is placed on a TreePage:
TreePage.html
<div wicket:id="modaleditdialog"></div>
<div wicket:id="tree">[tree]</div>

TreePage.java

public TreePage () {
dialog = new ModalEditDialog("modaleditdialog");
dialog.setResizable(true);
dialog.setAutoSize(true);
dialog.setOutputMarkupId(true);
...
add(dialog);

NestedTree<T> nestedTree = new NestedTree<T>(id, provider) {
  protected Component newContentComponent(String id, IModel<T> model) {
    MyPanel panel = new MyPanel(id, this, model, dialog,...);
    panel.setOutputMarkupId(true);
    return panel;
  }
}
nestedTree.setOutputMarkupId(true);
add(nestedTree);
...
}

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-change-the-panel-data-from-a-modal-window-opened-from-AjaxLink-onClick-tp4666216p4666217.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

Reply via email to