Search in sources :

Example 1 with ExpressionVariableEditorDialog

use of com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.ExpressionVariableEditorDialog in project midpoint by Evolveum.

the class ResourceIterationEditor method expressionVariableEditPerformed.

private void expressionVariableEditPerformed(AjaxRequestTarget target, ExpressionVariableDefinitionType object) {
    ExpressionVariableEditorDialog window = (ExpressionVariableEditorDialog) get(ID_VARIABLE_EDITOR_MODAL);
    window.updateModel(target, object);
    window.show(target);
}
Also used : ExpressionVariableEditorDialog(com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.ExpressionVariableEditorDialog)

Example 2 with ExpressionVariableEditorDialog

use of com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.ExpressionVariableEditorDialog in project midpoint by Evolveum.

the class ResourceIterationEditor method initModals.

private void initModals() {
    ModalWindow variableEditor = new ExpressionVariableEditorDialog(ID_VARIABLE_EDITOR_MODAL, null) {

        @Override
        public void updateComponents(AjaxRequestTarget target) {
            target.add(ResourceIterationEditor.this.get(ID_POST_VARIABLE_LIST), ResourceIterationEditor.this.get(ID_PRE_VARIABLE_LIST), ResourceIterationEditor.this.get(ID_TOKEN_VARIABLE_LIST));
        }
    };
    add(variableEditor);
}
Also used : AjaxRequestTarget(org.apache.wicket.ajax.AjaxRequestTarget) ExpressionVariableEditorDialog(com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.ExpressionVariableEditorDialog) ModalWindow(org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow)

Aggregations

ExpressionVariableEditorDialog (com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.ExpressionVariableEditorDialog)2 AjaxRequestTarget (org.apache.wicket.ajax.AjaxRequestTarget)1 ModalWindow (org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow)1