|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.form.engine.FormEngine info.magnolia.module.form.templates.components.AbstractFormEngine info.magnolia.module.form.templates.components.multistep.StartStepFormEngine info.magnolia.module.shop.paragraphs.ShopStartStepFormEngine
public class ShopStartStepFormEngine
This form engine also looks in the shopping cart for a form token, before it creates a new one. That way, shoppers can continue shopping without loosing already entered data in the checkout form.
Field Summary |
---|
Fields inherited from class info.magnolia.module.form.engine.FormEngine |
---|
context, redirectWithParams |
Constructor Summary | |
---|---|
ShopStartStepFormEngine(javax.jcr.Node configurationNode,
info.magnolia.module.form.templates.components.FormParagraph configurationParagraph,
info.magnolia.rendering.context.RenderingContext context)
|
Method Summary | |
---|---|
protected String |
getFormStateToken()
Finds the token from a requests parameter, shopping cart, or engine since this is the first step engine creates a new form state if the form is being submitted. |
Methods inherited from class info.magnolia.module.form.templates.components.multistep.StartStepFormEngine |
---|
getNextPage |
Methods inherited from class info.magnolia.module.form.templates.components.AbstractFormEngine |
---|
executeProcessors, getConfigurationNode, getConfigurationParagraph, getFormDataBinder, getFormView, getProcessorFailedView, getSuccessView, handleNoSuchFormState |
Methods inherited from class info.magnolia.module.form.engine.FormEngine |
---|
createAndSetFormState, destroyFormState, getFormState, getFormState, getPreviousPage, getValidationFailedView, getValidationSuccessfulView, handleNoSuchFormStateOnSubmit, handleRequest, handleTokenMissing, isBackButton, isFormSubmission, isRedirectWithParams, setFormState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShopStartStepFormEngine(javax.jcr.Node configurationNode, info.magnolia.module.form.templates.components.FormParagraph configurationParagraph, info.magnolia.rendering.context.RenderingContext context)
Method Detail |
---|
protected String getFormStateToken() throws info.magnolia.module.form.engine.FormStateTokenMissingException
getFormStateToken
in class info.magnolia.module.form.templates.components.multistep.StartStepFormEngine
info.magnolia.module.form.engine.FormStateTokenMissingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |