Search in sources :

Example 1 with WizardHelpDialog

use of com.evolveum.midpoint.web.component.wizard.resource.component.WizardHelpDialog in project midpoint by Evolveum.

the class WizardSteps method updateModal.

public void updateModal() {
    WizardHelpDialog window = (WizardHelpDialog) get(ID_HELP_MODAL);
    if (window != null) {
        AjaxRequestTarget target = getRequestCycle().find(AjaxRequestTarget.class);
        window.updateModal(target, getActiveStep());
    }
}
Also used : AjaxRequestTarget(org.apache.wicket.ajax.AjaxRequestTarget) WizardHelpDialog(com.evolveum.midpoint.web.component.wizard.resource.component.WizardHelpDialog)

Example 2 with WizardHelpDialog

use of com.evolveum.midpoint.web.component.wizard.resource.component.WizardHelpDialog in project midpoint by Evolveum.

the class WizardSteps method showHelpPerformed.

private void showHelpPerformed(AjaxRequestTarget target) {
    WizardHelpDialog window = (WizardHelpDialog) get(ID_HELP_MODAL);
    window.show(target);
}
Also used : WizardHelpDialog(com.evolveum.midpoint.web.component.wizard.resource.component.WizardHelpDialog)

Example 3 with WizardHelpDialog

use of com.evolveum.midpoint.web.component.wizard.resource.component.WizardHelpDialog in project midpoint by Evolveum.

the class WizardSteps method initModals.

private void initModals() {
    ModalWindow helpWindow = new WizardHelpDialog(ID_HELP_MODAL, getActiveStep());
    add(helpWindow);
}
Also used : ModalWindow(org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow) WizardHelpDialog(com.evolveum.midpoint.web.component.wizard.resource.component.WizardHelpDialog)

Aggregations

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