public class Step3 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 |
---|
Step3(String name,
String label,
String description,
WizardPage page)
Construct Step3 with the specified name, label, description and page.
|
Modifier and Type | Method and Description |
---|---|
boolean |
onFinish()
The onFinish action of Step3 checks if the form is valid, saves the
client and address in the database, sets up a success message, and
sets the page back to stateless.
|
boolean |
onPrevious()
The onPrevious action of Step3 moves to the previous step in the process
and clears and form errors.
|
void |
onRender()
Override onRender phase to add the client instance to the Template
model for rendering.
|
getCancelButton, getDescription, getFinishButton, getForm, getNextButton, getPreviousButton, getWizardPage, init, onCancel, onNext, setDescription, setWizardPage
hasTemplate, render, renderContainer
addControl, addModel, createTemplateModel, getId, getLabel, getModel, getPanels, getTemplate, insert, isActive, isDisabled, onInit, onProcess, 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 Step3(String name, String label, String description, WizardPage page)
name
- the step namelabel
- the step labeldescription
- the step descriptionpage
- the wizardpublic boolean onFinish()
public boolean onPrevious()
onPrevious
in class Step