Example usage for org.apache.wicket.extensions.wizard Wizard FORM_ID

List of usage examples for org.apache.wicket.extensions.wizard Wizard FORM_ID

Introduction

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

Prototype

String FORM_ID

To view the source code for org.apache.wicket.extensions.wizard Wizard FORM_ID.

Click Source Link

Document

Component id of the form as used by the default wizard panel.

Usage

From source file:com.googlecode.wicket.jquery.ui.widget.wizard.AbstractWizard.java

License:Apache License

/**
 * Initialization/* w  w  w.  j  a  va 2  s . c o  m*/
 * @param wizardModel the {@link IWizardModel}
 */
protected void init(final IWizardModel wizardModel) {
    if (wizardModel == null) {
        throw new IllegalArgumentException("argument wizardModel must be not null");
    }

    this.wizardModel = wizardModel;
    this.wizardModel.addListener(this);

    // form //
    this.form = new Form<T>(Wizard.FORM_ID);
    this.add(this.form);

    // header (title + summary )//
    this.form.add(new EmptyPanel(Wizard.HEADER_ID));

    // Feedback //
    this.feedback = new JQueryFeedbackPanel(Wizard.FEEDBACK_ID);
    this.form.add(this.feedback);

    // dummy view to be replaced //
    this.form.add(new EmptyPanel(Wizard.VIEW_ID));
    //      this.form.add(newOverviewBar(Wizard.OVERVIEW_ID)); //OverviewBar not handled
}