Class Wizard
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.webengine.ui.wizard.Wizard
- Direct Known Subclasses:
WebForm
The following actions are available:
- GET
- POST next
- POST ok
- POST cancel
- POST back
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String[]
protected ValidationException
protected WizardPage
protected WizardSession
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract WizardPage[]
protected String
protected void
doGet()
Get the content of the current wizard page.getError()
String[]
<T extends Form>
TgetPage()
protected Object
handleOk()
protected Object
boolean
boolean
protected void
initialize
(Object... args) boolean
boolean
boolean
boolean
protected void
protected abstract void
protected Object
protected Object
<T extends Form>
Tvalidate
(WizardPage page) Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Field Details
-
EMPTY
-
session
-
page
-
error
-
initialFields
-
-
Constructor Details
-
Wizard
public Wizard()
-
-
Method Details
-
createPages
-
createInitialFields
-
initialize
- Overrides:
initialize
in classAbstractResource<ResourceTypeImpl>
-
destroySession
protected void destroySession() -
createSessionId
-
getSession
-
getPage
-
isNextEnabled
public boolean isNextEnabled() -
isBackEnabled
public boolean isBackEnabled() -
isOkEnabled
public boolean isOkEnabled() -
isCancelEnabled
public boolean isCancelEnabled() -
getError
-
getFormFields
-
getField
-
getFields
-
getInvalidFields
-
getRequireddFields
-
hasErrors
public boolean hasErrors() -
hasErrors
-
redirectOnOk
-
redirectOnCancel
-
getForm
-
performOk
- Throws:
ValidationException
-
performCancel
protected void performCancel() -
handleValidationError
-
handleError
-
validate
- Throws:
ValidationException
-
handleNext
-
handleBack
-
handleCancel
-
handleOk
-
doGet
Get the content of the current wizard page.
-