Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.
Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.
Define a screen within this wizard
Keep request-local information around without the nastiness of naming session variables or the type-unsafety of casting the results.
What to do when the Screen is done.
A unique GUID for the form.
Holds the template passed via the snippet for the duration of the request
Are the forms Ajax or regular HTTP/HTML.
Are the forms Ajax or regular HTTP/HTML.
If the ajax=true attribute is present on the original snippet invocation, the forms will be ajax.
Calculate if this Screen/Wizard should be ajax
Calculate if this Screen/Wizard should be ajax
What should be done at the end of an Ajax session.
What should be done at the end of an Ajax session. By default, RedirectTo(Referer.get)
What's the first screen in this wizard
Calculate the referer (the page to go back to on finish).
Calculate the referer (the page to go back to on finish). defaults to S.referer openOr "/"
Given the current screen, what's the next screen?
Should all instances of this Wizard or Screen default to Ajax when not explicitly set
Should all instances of this Wizard or Screen default to Ajax when not explicitly set
the NodeSeq passed as a parameter when the snippet was invoked
the NodeSeq passed as a parameter when the snippet was invoked
What additional attributes should be put on the
What additional attributes should be put on the
Perform the injection for the given type.
Perform the injection for the given type. You can call: inject[Date] or inject[List[Map[String, PaymentThing]]]. The appropriate Manifest will be
create an anchor tag around a body
create an anchor tag around a body
- the target
- the function to invoke when the link is clicked
- the NodeSeq to wrap in the anchor tag
- the (optional) attributes for the HTML element
Override this method to do setup the first time the screen is entered
Override this method to do setup the first time the screen is entered
By default, are all the fields on all the screen in this wizard on the confirm screen?
Redirect to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
Redirect to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
Register a function that will inject for the given Manifest
Register a function that will inject for the given Manifest
Total number of screens in the wizard
The ordered list of Screens
See Other to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
See Other to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
A wizard allows you to create a multi-screen set of input forms with back-button support and state support