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

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

Introduction

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

Prototype

public DynamicWizardModel(final IDynamicWizardStep startStep) 

Source Link

Document

Construct.

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);/*from  w w  w  . j  a v a2 s . co  m*/
    wmodel.setLastVisible(true);
    init(wmodel);
}