Example usage for org.apache.wicket.extensions.wizard.dynamic DynamicWizardModel setCancelVisible

List of usage examples for org.apache.wicket.extensions.wizard.dynamic DynamicWizardModel setCancelVisible

Introduction

In this page you can find the example usage for org.apache.wicket.extensions.wizard.dynamic DynamicWizardModel setCancelVisible.

Prototype

public void setCancelVisible(final boolean cancelVisible) 

Source Link

Document

Sets whether cancel functionality is available.

Usage

From source file:org.apache.openmeetings.web.pages.install.InstallWizard.java

License:Apache License

public InstallWizard(String id, String title) {
    super(id, title, new CompoundPropertyModel<InstallationConfig>(new InstallationConfig()), true);
    setTitle(Model.of(getModelObject().appName));
    welcomeStep = new WelcomeStep();
    dbStep = new DbStep();
    paramsStep1 = new ParamsStep1();
    paramsStep2 = new ParamsStep2();
    paramsStep3 = new ParamsStep3();
    paramsStep4 = new ParamsStep4();
    installStep = new InstallStep();

    DynamicWizardModel wmodel = new DynamicWizardModel(welcomeStep);
    wmodel.setCancelVisible(false);
    wmodel.setLastVisible(true);//ww  w.j  ava  2  s .  c o  m
    init(wmodel);
}