public class Step2 extends Step
active, disabled, id, label, model, panels, template
controlMap, controls
actionListener, attributes, behaviors, headElements, listener, listenerMethod, messages, name, parent, styles
CONTROL_MESSAGES
Constructor and Description |
---|
Step2(String name,
String label,
String description,
WizardPage page)
Construct Step2 with the specified name, label, description and page.
|
Modifier and Type | Method and Description |
---|---|
ClientService |
getClientService() |
void |
onInit()
Step2 links to a lookup table for populating the post code and state values.
|
boolean |
onNext()
The onNext action of Step2 checks if the form is valid, moves to the
next step in the process and passes the client to the next step.
|
boolean |
onPrevious()
The onPrevious action of Step2 moves to the previous step in the process
and clears and form errors.
|
getCancelButton, getDescription, getFinishButton, getForm, getNextButton, getPreviousButton, getWizardPage, init, onCancel, onFinish, setDescription, setWizardPage
hasTemplate, render, renderContainer
addControl, addModel, createTemplateModel, getId, getLabel, getModel, getPanels, getTemplate, insert, isActive, isDisabled, onProcess, onRender, remove, removeControl, replace, setActive, setDisabled, setId, setLabel, setTemplate
add, contains, getControl, getControlMap, getControls, getControlSizeEst, hasControls, onDestroy, renderChildren, renderContent, renderTagEnd, toString
addBehavior, addStyleClass, appendAttributes, dispatchActionEvent, getActionListener, getAttribute, getAttributes, getBehaviors, getContext, getHeadElements, getHtmlImports, getMessage, getMessage, getMessages, getName, getPage, getParent, getStyle, getStyles, getTag, hasAttribute, hasAttributes, hasBehaviors, hasStyles, isAjaxTarget, onDeploy, removeBehavior, removeStyleClass, renderTagBegin, setActionListener, setAttribute, setListener, setName, setParent, setStyle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBehaviors, getContext, getHeadElements, getMessages, getName, getParent, hasBehaviors, isAjaxTarget, onDeploy, setListener, setName, setParent
public Step2(String name, String label, String description, WizardPage page)
name
- the step namelabel
- the step labeldescription
- the step descriptionpage
- the wizard pagepublic void onInit()
public boolean onNext()
public boolean onPrevious()
onPrevious
in class Step
public ClientService getClientService()