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

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

Introduction

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

Prototype

void previous();

Source Link

Document

Takes the model to the previous step.This method must only be called if #isPreviousAvailable returns true.

Usage

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

License:Open Source License

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