Example usage for org.apache.wicket.extensions.wizard IWizardModel last

List of usage examples for org.apache.wicket.extensions.wizard IWizardModel last

Introduction

In this page you can find the example usage for org.apache.wicket.extensions.wizard IWizardModel last.

Prototype

void last();

Source Link

Document

Takes the model to the last step in the wizard.

Usage

From source file:au.org.theark.core.web.component.wizard.ArkWizardLastButton.java

License:Open Source License

public final void onClick() {
    IWizardModel wizardModel = getWizardModel();
    wizardModel.getActiveStep().applyState();
    wizardModel.last();
}

From source file:com.antilia.web.wizard.AjaxLastButton.java

License:Apache License

@Override
protected void onClick(AjaxRequestTarget target, Form<?> form) {
    IWizardModel wizardModel = getWizardModel();
    wizardModel.getActiveStep().applyState();
    wizardModel.last();
}