Example usage for org.apache.wicket.extensions.ajax.markup.html.modal ModalWindow get

List of usage examples for org.apache.wicket.extensions.ajax.markup.html.modal ModalWindow get

Introduction

In this page you can find the example usage for org.apache.wicket.extensions.ajax.markup.html.modal ModalWindow get.

Prototype

@Override
public final Component get(String path) 

Source Link

Document

Get a child component by looking it up with the given path.

Usage

From source file:com.evolveum.midpoint.web.component.assignment.AssignmentTablePanel.java

License:Apache License

private void showAssignablePopupPerformed(AjaxRequestTarget target, Class<? extends ObjectType> type) {
    ModalWindow modal = (ModalWindow) get(ID_MODAL_ASSIGN);
    AssignablePopupContent content = (AssignablePopupContent) modal.get(modal.getContentId());
    content.setType(type);//  w  w w.  j a  va2 s  .  com
    showModalWindow(ID_MODAL_ASSIGN, target);
}

From source file:com.evolveum.midpoint.web.component.assignment.AutzActionsTablePanel.java

License:Apache License

private void showAssignableAuthorizationPopupPerformed(AjaxRequestTarget target) {
    ModalWindow modal = (ModalWindow) get(ID_MODAL_ACTIONS_ASSIGN);
    AssignableAuthActionsPopup content = (AssignableAuthActionsPopup) modal.get(modal.getContentId());
    showModalWindow(ID_MODAL_ACTIONS_ASSIGN, target);
}

From source file:com.evolveum.midpoint.web.page.admin.users.PageUser.java

License:Apache License

private void showAssignablePopup(AjaxRequestTarget target, Class<? extends ObjectType> type) {
    ModalWindow modal = (ModalWindow) get(MODAL_ID_ASSIGNABLE);
    AssignablePopupContent content = (AssignablePopupContent) modal.get(modal.getContentId());
    content.setType(type);/* w  w  w . j ava  2 s .co  m*/
    showModalWindow(MODAL_ID_ASSIGNABLE, target);
}