LiftScreen
Attributes
- Graph
-
- Supertypes
-
trait ScreenWizardRenderedtrait StatefulSnippettrait DispatchSnippettrait AbstractScreentrait Loggabletrait Factorytrait SimpleInjectortrait Injectorclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Classlikes
What to do when the Screen is done. By default, will do a redirect back to Whence, but you can change this behavior, for example, put up some other Ajax thing or alternatively, remove the form from the screen.
What to do when the Screen is done. By default, will do a redirect back to Whence, but you can change this behavior, for example, put up some other Ajax thing or alternatively, remove the form from the screen.
Attributes
- Supertypes
- Self type
-
AjaxOnDone.type
Attributes
Attributes
A unique GUID for the form... this allows us to do an Ajax SetHtml to replace the form
A unique GUID for the form... this allows us to do an Ajax SetHtml to replace the form
Attributes
Attributes
- Supertypes
-
class TransientRequestVar[String]trait HasCalcDefaultValue[String]trait PSettableValueHolder[String]trait SettableValueHoldertrait Settabletrait PValueHolder[String]trait ValueHolderclass Objecttrait Matchableclass AnyShow all
- Self type
-
LocalAction.type
Attributes
- Supertypes
-
class RequestVar[String]trait HasCalcDefaultValue[String]trait PSettableValueHolder[String]trait SettableValueHoldertrait Settabletrait PValueHolder[String]trait ValueHolderclass Objecttrait Matchableclass AnyShow all
- Self type
-
LocalActionRef.type
Attributes
- Supertypes
-
class AnyVar[AtomicReference[Map[String, () => JsCmd]], NonCleanAnyVar[AtomicReference[Map[String, () => JsCmd]]]]trait AnyVarTrait[AtomicReference[Map[String, () => JsCmd]], NonCleanAnyVar[AtomicReference[Map[String, () => JsCmd]]]]trait SettableValueHoldertrait Settabletrait ValueHolderclass Objecttrait Matchableclass AnyShow all
- Self type
-
LocalActions.type
Attributes
Attributes
- Supertypes
-
trait SettableValueHoldertrait Settabletrait ValueHolderclass Objecttrait Matchableclass AnyShow all
- Self type
-
PrevSnapshot.type
Attributes
Attributes
- Supertypes
- Self type
-
SavedDefaultXml.type
Attributes
- Supertypes
Keep request-local information around without the nastiness of naming session variables or the type-unsafety of casting the results. RequestVars share their value through the scope of the current HTTP request. They have no value at the beginning of request servicing and their value is discarded at the end of request processing. They are helpful to share values across many snippets.
Keep request-local information around without the nastiness of naming session variables or the type-unsafety of casting the results. RequestVars share their value through the scope of the current HTTP request. They have no value at the beginning of request servicing and their value is discarded at the end of request processing. They are helpful to share values across many snippets.
Value parameters
- dflt
-
- the default value of the session variable
Attributes
- Supertypes
-
class NonCleanAnyVar[T]class AnyVar[T, NonCleanAnyVar[T]]trait AnyVarTrait[T, NonCleanAnyVar[T]]trait HasCalcDefaultValue[T]trait PSettableValueHolder[T]trait SettableValueHoldertrait Settabletrait PValueHolder[T]trait ValueHolderclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object AjaxOnDoneobject Ajax_?object FormGUIDobject LocalActionsobject NextIdobject Refererobject SavedDefaultXmlShow all
Holds the template passed via the snippet for the duration of the request
Holds the template passed via the snippet for the duration of the request
Attributes
- Supertypes
-
class TransientRequestVar[NodeSeq]trait HasCalcDefaultValue[NodeSeq]trait PSettableValueHolder[NodeSeq]trait SettableValueHoldertrait Settabletrait PValueHolder[NodeSeq]trait ValueHolderclass Objecttrait Matchableclass AnyShow all
- Self type
-
_defaultXml.type
Inherited classlikes
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FilterOrValidate[Nothing]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FilterOrValidate[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FilterOrValidate[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object BoxMarkerObj
A little hack because => BaseField and => Box[BaseField] have the same method signature
A little hack because => BaseField and => Box[BaseField] have the same method signature
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
Attributes
- Inherited from:
- ScreenWizardRendered
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FilterOrValidate[Nothing]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
class Objecttrait Matchableclass Any
A field that's part of a Screen
A field that's part of a Screen
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait ConfirmFieldtrait BaseFieldtrait FieldContainertrait SettableFieldtrait SettableValueHoldertrait Settabletrait ReadableFieldtrait Bindabletrait ValueHoldertrait FieldIdentifierclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait WizardField
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FilterOrValidate[Nothing]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AFieldBindingclass AFilter[T]class AVal[T]class DisplayIfclass FieldTransformclass FormFieldIdclass FormParamclass Helpobject NotOnConfirmScreenobject OnConfirmScreenShow all
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FilterOrValidate[Nothing]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FilterOrValidate[Nothing]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FilterOrValidate[Nothing]class Objecttrait Matchableclass AnyShow all
Override the screen default for fields appearing on the confirm screen and force this field not to appear on the confirm screen
Override the screen default for fields appearing on the confirm screen and force this field not to appear on the confirm screen
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
Override the screen default for fields appearing on the confirm screen and force this field to appear on the confirm screen
Override the screen default for fields appearing on the confirm screen and force this field to appear on the confirm screen
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object NothingOtherValueInitializerclass OtherValueInitializerImpl[T]
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OtherValueInitializer[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- ScreenWizardRendered
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ScreenSnapshotclass WizardSnapshot
Attributes
- Inherited from:
- AbstractScreen
- Supertypes
-
class ThreadGlobal[FieldIdentifier]class Objecttrait Matchableclass Any
Inherited and Abstract classlikes
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.
Attributes
- Inherited from:
- Factory
- Supertypes
-
trait Vendor[T]trait () => Ttrait StackableMaker[T]trait Maker[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object chromeCalcFunctionobject firefoxCalcFunctionobject iPadCalcFunctionobject iPhoneCalcFunctionobject ieCalcFunctionobject safariCalcFunctionShow all
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.
Attributes
- Inherited from:
- SimpleInjector
- Supertypes
-
trait Vendor[T]trait () => Ttrait StackableMaker[T]trait Maker[T]class Objecttrait Matchableclass AnyShow all
Inherited types
Attributes
- Inherited from:
- DispatchSnippet
Attributes
- Inherited from:
- AbstractScreen
Value members
Concrete methods
the NodeSeq passed as a parameter when the snippet was invoked
the NodeSeq passed as a parameter when the snippet was invoked
Attributes
What additional attributes should be put on
What additional attributes should be put on
Attributes
By default, are all the fields on this screen on the confirm screen?
By default, are all the fields on this screen on the confirm screen?
Attributes
Inherited methods
Add a FieldContainer to the Screen. A FieldContainer can contain either a single field (a BaseField) or a collection of BaseFields. The key take-away is that if the LiftScreen or Wizard is a singleton, you can still display variable number of fields by returning a variable number of BaseField instances from the FieldContainer.
WARNING -- this method is public so it can be called from a Wizard. This method should only be called from within the Screen or Wizard that owns the Screen and not from external code.
Add a FieldContainer to the Screen. A FieldContainer can contain either a single field (a BaseField) or a collection of BaseFields. The key take-away is that if the LiftScreen or Wizard is a singleton, you can still display variable number of fields by returning a variable number of BaseField instances from the FieldContainer.
WARNING -- this method is public so it can be called from a Wizard. This method should only be called from within the Screen or Wizard that owns the Screen and not from external code.
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- StatefulSnippet
Any additional parameters that need to be put on the form (e.g., mime type)
Any additional parameters that need to be put on the form (e.g., mime type)
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- ScreenWizardRendered
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.
Attributes
- Inherited from:
- ScreenWizardRendered
Attributes
- Inherited from:
- ScreenWizardRendered
Create a FieldBuilder so you can add help screens, validations and filters. Remember to invoke "make" on the returned FieldBuilder to convert it into a field
Create a FieldBuilder so you can add help screens, validations and filters. Remember to invoke "make" on the returned FieldBuilder to convert it into a field
Value parameters
- default
-
- the default value of the field
- name
-
- the name of the field. This is a call-by-name parameter, so you can dynamically calculate the name of the field (e.g., localize its name)
- stuff
-
- any filter or validation functions
Attributes
- Inherited from:
- AbstractScreen
Calculate if this Screen/Wizard should be ajax
What should be done at the end of an Ajax session. By default, RedirectTo(Referer.get)
What should be done at the end of an Ajax session. By default, RedirectTo(Referer.get)
Attributes
- Inherited from:
- ScreenWizardRendered
Calculate the referer (the page to go back to on finish). defaults to S.referer openOr "/"
Calculate the referer (the page to go back to on finish). defaults to S.referer openOr "/"
Attributes
- Inherited from:
- ScreenWizardRendered
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- ScreenWizardRendered
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
Attributes
- Inherited from:
- ScreenWizardRendered
Create a field with a name, default value, and
Create a field with a name, default value, and
Value parameters
- default
-
- the default value of the field
- name
-
- the name of the field. This is a call-by-name parameter, so you can dynamically calculate the name of the fiels (e.g., localize its name)
- validate
-
- any validation functions
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Grabs the FormFieldId and FormParam parameters
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- ScreenWizardRendered
create an anchor tag around a body
create an anchor tag around a body
Value parameters
- attrs
-
- the (optional) attributes for the HTML element
- body
-
- the NodeSeq to wrap in the anchor tag
- func
-
- the function to invoke when the link is clicked
- to
-
- the target
Attributes
- Inherited from:
- StatefulSnippet
Override this method to do any setup of this screen
Create a field that's added to the Screen
Create a field that's added to the Screen
Value parameters
- defaultValue
-
the starting value for the field. This is also call-by-name which is handy for constructs like:
SomeExternalRequestVarOrSessionVar.get
- otherValue
-
a handy way include other values in the field. The other value is calcualted when the field is initialized. You can, for example, put a list of valid options in the field.
- stuff
-
a list of filters and validations for the field
- theName
-
the name of the field. This is call-by-name, so you can do things like S.?("Dog's Name") such that the string will be localized
- theToForm
-
a function to convert the field into a form
Attributes
- Returns
-
a newly minted Field
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Create a multi select HTML element
Create a multi select HTML element
Value parameters
- choices
-
the possible choices for the select
- default
-
the starting value of the field (call-by-name)
- f
-
a PairStringPromoter (a wrapper around a function) that converts T => display String
- name
-
the name of the field (call-by-name)
- stuff
-
- a list of filters and validations for the field
Attributes
- Returns
-
a newly minted Field{type ValueType = String}
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- StatefulSnippet
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Create a password field
Create a password field
Value parameters
- defaultValue
-
the starting value of the field (call-by-name)
- name
-
the name of the field (call-by-name)
- stuff
-
the filters, validators and attributes
Attributes
- Returns
-
a newly minted Field
- Inherited from:
- AbstractScreen
Create a radio HTML element
Create a radio HTML element
Value parameters
- choices
-
the possible choices for the select
- default
-
the starting value of the field (call-by-name)
- name
-
the name of the field (call-by-name)
- stuff
-
- a list of filters and validations for the field
Attributes
- Returns
-
a newly minted Field{type ValueType = String}
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- ScreenWizardRendered
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
Attributes
- Inherited from:
- StatefulSnippet
Register a function that will inject for the given Manifest
Register a function that will inject for the given Manifest
Attributes
- Inherited from:
- SimpleInjector
Attributes
- Inherited from:
- StatefulSnippet
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- ScreenWizardRendered
Attributes
- Inherited from:
- AbstractScreen
A list of fields in this screen
The name of the screen. Override this to change the screen name.
The name of the screen. Override this to change the screen name.
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
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
Attributes
- Inherited from:
- StatefulSnippet
Create a select HTML element
Create a select HTML element
Value parameters
- choices
-
the possible choices for the select
- default
-
the starting value of the field (call-by-name)
- f
-
a PairStringPromoter (a wrapper around a function) that converts T => display String
- name
-
the name of the field (call-by-name)
- stuff
-
- a list of filters and validations for the field
Attributes
- Returns
-
a newly minted Field{type ValueType = String}
- Inherited from:
- AbstractScreen
Create a text field
Create a text field
Value parameters
- defaultValue
-
the starting value of the field (call-by-name)
- name
-
the name of the field (call-by-name)
- stuff
-
the filters, validators and attributes
Attributes
- Returns
-
a newly minted Field
- Inherited from:
- AbstractScreen
Create a textarea field
Create a textarea field
Value parameters
- cols
-
the number of columns in the textarea
- defaultValue
-
the starting value of the field (call-by-name)
- name
-
the name of the field (call-by-name)
- rows
-
the number of rows in the textarea
- stuff
-
- a list of filters and validations for the field
Attributes
- Returns
-
a newly minted Field{type ValueType = String}
- Inherited from:
- AbstractScreen
Create a textarea field with 80 columns and 5 rows
Create a textarea field with 80 columns and 5 rows
Value parameters
- defaultValue
-
the starting value of the field (call-by-name)
- name
-
the name of the field (call-by-name)
- stuff
-
- a list of filters and validations for the field
Attributes
- Returns
-
a newly minted Field{type ValueType = String}
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
AbstractScreen -> Any
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- StatefulSnippet
A validation helper. Make sure the string is no more than a particular length and generate a validation issue if not.
A validation helper. Make sure the string is no more than a particular length and generate a validation issue if not.
Attributes
- Inherited from:
- AbstractScreen
A validation helper. Make sure the string is at least a particular length and generate a validation issue if not.
A validation helper. Make sure the string is at least a particular length and generate a validation issue if not.
Attributes
- Inherited from:
- AbstractScreen
Make sure the field matches a regular expression
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- ScreenWizardRendered
Inherited and Abstract methods
Attributes
- Inherited from:
- ScreenWizardRendered
Attributes
- Inherited from:
- ScreenWizardRendered
Inherited fields
Attributes
- Inherited from:
- ScreenWizardRendered
Attributes
- Inherited from:
- Loggable
Implicits
Inherited implicits
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen
Perform the injection for the given type. You can call: inject[Date] or inject[List[Map[String, PaymentThing]]]. The appropriate Manifest will be
Perform the injection for the given type. You can call: inject[Date] or inject[List[Map[String, PaymentThing]]]. The appropriate Manifest will be
Attributes
- Inherited from:
- SimpleInjector
Attributes
- Inherited from:
- AbstractScreen
Attributes
- Inherited from:
- AbstractScreen