net.liftweb.http

LiftScreen

trait LiftScreen extends AbstractScreen with StatefulSnippet with ScreenWizardRendered

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LiftScreen
  2. ScreenWizardRendered
  3. StatefulSnippet
  4. DispatchSnippet
  5. AbstractScreen
  6. Factory
  7. SimpleInjector
  8. Injector
  9. AnyRef
  10. Any
Visibility
  1. Public
  2. All

Type Members

  1. case class AFilter [T] (f: (T) ⇒ T) extends FilterOrValidate[T] with Product with Serializable

    Attributes
    protected final
  2. case class AVal [T] (v: (T) ⇒ List[FieldError]) extends FilterOrValidate[T] with Product with Serializable

    Attributes
    protected final
  3. trait BoxMarker extends AnyRef

    Attributes
    protected sealed
  4. type DispatchIt = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Definition Classes
    DispatchSnippet
  5. type Errors = List[FieldError]

    Attributes
    protected
    Definition Classes
    AbstractScreen
  6. class FactoryMaker [T] extends StackableMaker[T] with Vendor[T]

    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.

  7. trait Field extends ConfirmField

    A field that's part of a Screen

  8. class FieldBuilder [T] extends AnyRef

    Attributes
    protected
  9. trait FilterOrValidate [+T] extends AnyRef

    Attributes
    protected sealed
  10. case class FormFieldId (id: String) extends FilterOrValidate[Nothing] with Product with Serializable

    Attributes
    protected final
  11. case class FormParam (fp: ElemAttr) extends FilterOrValidate[Nothing] with Product with Serializable

    Attributes
    protected final
  12. class Inject [T] extends StackableMaker[T] with Vendor[T]

    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.

  13. trait OtherValueInitializer [T] extends AnyRef

    Attributes
    protected sealed
  14. case class OtherValueInitializerImpl [T] (f: () ⇒ T) extends OtherValueInitializer[T] with Product with Serializable

    Attributes
    protected final
  15. class ScreenSnapshot extends Snapshot

    Attributes
    protected
  16. class ScreenVar [T] extends NonCleanAnyVar[T]

    Keep request-local information around without the nastiness of naming session variables or the type-unsafety of casting the results.

  17. trait Snapshot extends AnyRef

    Attributes
    protected

Abstract Value Members

  1. def finish (): Unit

    Attributes
    protected abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. object AjaxOnDone extends ScreenVar[JsCmd]

    What to do when the Screen is done.

  7. object Ajax_? extends ScreenVar[Boolean]

    Attributes
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  8. object BoxMarkerObj extends BoxMarker

    A little hack because => BaseField and => Box[BaseField] have the same method signature

  9. object Field extends AnyRef

  10. object FilterOrValidate extends AnyRef

    Attributes
    protected
  11. object FormGUID extends ScreenVar[String]

    A unique GUID for the form.

  12. object NotOnConfirmScreen extends FilterOrValidate[Nothing] with Product with Serializable

    Override the screen default for fields appearing on the confirm screen and force this field not to appear on the confirm screen

  13. object NothingOtherValueInitializer extends OtherValueInitializer[Nothing] with Product with Serializable

    Attributes
    protected
  14. object OnConfirmScreen extends FilterOrValidate[Nothing] with Product with Serializable

    Override the screen default for fields appearing on the confirm screen and force this field to appear on the confirm screen

  15. object Referer extends ScreenVar[String]

    Attributes
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  16. object _defaultXml extends TransientRequestVar[NodeSeq]

    Holds the template passed via the snippet for the duration of the request

  17. def addFields (fields: () ⇒ FieldContainer): Unit

    Add a FieldContainer to the Screen.

    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.

    Definition Classes
    AbstractScreen
  18. def addName (name: String): Unit

    Definition Classes
    StatefulSnippet
  19. def additionalAttributes : MetaData

    any additional parameters that need to be put in the on the form (e.

    any additional parameters that need to be put in the on the form (e.g., mime type)

    Definition Classes
    AbstractScreen
  20. def ajaxForms_? : Boolean

    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
    protected
    Definition Classes
    ScreenWizardRendered
  21. def allTemplate : NodeSeq

    Attributes
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  22. def allTemplateNodeSeq : NodeSeq

    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  23. def allTemplatePath : List[String]

    Attributes
    protected
  24. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  25. implicit def boxOfScreen [T <: AbstractScreen] (in: T): Box[T]

    Attributes
    implicit
    Definition Classes
    AbstractScreen
  26. implicit def boxStrToListFieldError (msg: Box[String]): List[FieldError]

    Attributes
    implicit
    Definition Classes
    AbstractScreen
  27. implicit def boxXmlToListFieldError (msg: Box[NodeSeq]): List[FieldError]

    Attributes
    implicit
    Definition Classes
    AbstractScreen
  28. def builder [T] (name: ⇒ String, default: ⇒ T, stuff: FilterOrValidate[T]*)(implicit man: Manifest[T]): FieldBuilder[T]

    Create a FieldBuilder so you can add help screens, validations and filters.

    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

    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)

    default

    - the default value of the field

    Attributes
    protected
    Definition Classes
    AbstractScreen
  29. def calcAjax : Boolean

    Calculate if this Screen/Wizard should be ajax

    Calculate if this Screen/Wizard should be ajax

    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  30. def calcAjaxOnDone : JsCmd

    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)

    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  31. def calcReferer : String

    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 "/"

    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  32. def cancelButton : Elem

    Definition Classes
    AbstractScreen
  33. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def createSnapshot : ScreenSnapshot

    Attributes
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  35. object currentField extends ThreadGlobal[FieldIdentifier]

    Attributes
    protected
  36. def defaultToAjax_? : Boolean

    Should all instances of this Wizard or Screen unless they are explicitly set to Ajax

    Should all instances of this Wizard or Screen unless they are explicitly set to Ajax

    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  37. def defaultXml : NodeSeq

    the NodeSeq passed as a parameter when the snippet was invoked

    the NodeSeq passed as a parameter when the snippet was invoked

    Attributes
    protected
  38. def dispatch : PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Definition Classes
    LiftScreenDispatchSnippet
  39. def doFinish (): JsCmd

    Attributes
    protected
  40. implicit def elemInABox (in: Elem): Box[Elem]

    Attributes
    protected implicit
    Definition Classes
    AbstractScreen
  41. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  42. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  43. def field [T] (name: ⇒ String, default: ⇒ T, stuff: FilterOrValidate[T]*)(implicit man: Manifest[T]): Field { type ValueType = T }

    Create a field with a name, default value, and

    Create a field with a name, default value, and

    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)

    default

    - the default value of the field

    Attributes
    protected
    Definition Classes
    AbstractScreen
  44. def field [T] (underlying: ⇒ Box[BaseField { type ValueType = T }], stuff: FilterOrValidate[T]*)(implicit man: Manifest[T], marker: BoxMarker): Field { type ValueType = T }

    Attributes
    protected
    Definition Classes
    AbstractScreen
  45. def field [T] (underlying: ⇒ BaseField { type ValueType = T }, stuff: FilterOrValidate[T]*)(implicit man: Manifest[T]): Field { type ValueType = T }

    Attributes
    protected
    Definition Classes
    AbstractScreen
  46. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. def finishButton : Elem

    Definition Classes
    AbstractScreen
  48. def formAttrs : MetaData

    What additional attributes should be put on the

    What additional attributes should be put on the

    Attributes
    protected
  49. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  50. def grabParams (in: Seq[LiftScreen.this.FilterOrValidate[_]]): List[ElemAttr]

    Grabs the FormFieldId and FormParam parameters

    Grabs the FormFieldId and FormParam parameters

    Attributes
    protected
    Definition Classes
    AbstractScreen
  51. def hasUploadField : Boolean

    Attributes
    protected
    Definition Classes
    AbstractScreen
  52. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  53. implicit def inject [T] (implicit man: Manifest[T]): Box[T]

    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

    Attributes
    implicit
    Definition Classes
    SimpleInjectorInjector
  54. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  55. def link (to: String, func: () ⇒ Any, body: NodeSeq, attrs: ElemAttr*): Elem

    create an anchor tag around a body

    create an anchor tag around a body

    func

    - the function to invoke when the link is clicked

    body

    - the NodeSeq to wrap in the anchor tag

    Definition Classes
    StatefulSnippet
  56. def localSetup (): Unit

    Override this method to do any setup of this screen

    Override this method to do any setup of this screen

    Attributes
    protected
    Definition Classes
    AbstractScreen
  57. def makeField [T, OV] (theName: ⇒ String, defaultValue: ⇒ T, theToForm: (Field { ... /* 2 definitions in type refinement */ }) ⇒ Box[NodeSeq], otherValue: OtherValueInitializer[OV], stuff: FilterOrValidate[T]*): Field { ... /* 2 definitions in type refinement */ }

    Create a field that's added to the Screen

    Create a field that's added to the Screen

    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

    defaultValue

    - the starting value for the field. This is also call-by-name which is handy for constructs like: SomeExternalRequestVarOrSessionVar.get

    returns

    a newly minted Field

    Attributes
    protected
    Definition Classes
    AbstractScreen
  58. def maxVal [T] (len: ⇒ T, msg: ⇒ String)(implicit f: (T) ⇒ Number): (T) ⇒ List[FieldError]

    Attributes
    protected
    Definition Classes
    AbstractScreen
  59. def minVal [T] (len: ⇒ T, msg: ⇒ String)(implicit f: (T) ⇒ Number): (T) ⇒ List[FieldError]

    Attributes
    protected
    Definition Classes
    AbstractScreen
  60. def multiselect [T] (name: ⇒ String, default: ⇒ Seq[T], choices: ⇒ Seq[T], stuff: FilterOrValidate[Seq[T]]*)(implicit f: PairStringPromoter[T]): Field { ... /* 2 definitions in type refinement */ }

    Create a multi select HTML element

    Create a multi select HTML element

    name

    the name of the field (call-by-name)

    default

    the starting value of the field (call-by-name)

    choices

    the possible choices for the select

    stuff

    - a list of filters and validations for the field

    f

    a PairStringPromoter (a wrapper around a function) that converts T => display String

    Attributes
    protected
    Definition Classes
    AbstractScreen
  61. def names : Set[String]

    Definition Classes
    StatefulSnippet
  62. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  63. def notNull : (String) ⇒ String

    Attributes
    protected
    Definition Classes
    AbstractScreen
  64. def noticeTypeToAttr (screen: AbstractScreen): Box[(Value) ⇒ MetaData]

    Definition Classes
    AbstractScreen
  65. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  66. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  67. def onConfirm_? : Boolean

    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?

    Definition Classes
    LiftScreenAbstractScreen
  68. def password (name: ⇒ String, defaultValue: ⇒ String, stuff: FilterOrValidate[String]*): Field { type ValueType = String }

    Create a password field

    Create a password field

    name

    the name of the field (call-by-name)

    defaultValue

    the starting value of the field (call-by-name)

    stuff

    the filters, validators and attributes

    Attributes
    protected
    Definition Classes
    AbstractScreen
  69. def radio (name: ⇒ String, default: ⇒ String, choices: ⇒ Seq[String], stuff: FilterOrValidate[String]*): Field { ... /* 2 definitions in type refinement */ }

    Create a radio HTML element

    Create a radio HTML element

    name

    the name of the field (call-by-name)

    default

    the starting value of the field (call-by-name)

    choices

    the possible choices for the select

    stuff

    - a list of filters and validations for the field

    Attributes
    protected
    Definition Classes
    AbstractScreen
  70. def redirectBack (): JsCmd

    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  71. def redirectTo (where: String): Nothing

    Definition Classes
    StatefulSnippet
  72. def registerInjection [T] (f: () ⇒ T)(implicit man: Manifest[T]): Unit

    Register a function that will inject for the given Manifest

    Register a function that will inject for the given Manifest

    Definition Classes
    SimpleInjector
  73. def registerThisSnippet (): Unit

    Definition Classes
    StatefulSnippet
  74. def removeRegExChars (regEx: String): (String) ⇒ String

    Attributes
    protected
    Definition Classes
    AbstractScreen
  75. def renderAll (currentScreenNumber: Box[NodeSeq], screenCount: Box[NodeSeq], wizardTop: Box[Elem], screenTop: Box[Elem], fields: List[ScreenFieldInfo], prev: Box[Elem], cancel: Box[Elem], next: Box[Elem], finish: Box[Elem], screenBottom: Box[Elem], wizardBottom: Box[Elem], nextId: (String, () ⇒ JsCmd), prevId: Box[(String, () ⇒ JsCmd)], cancelId: (String, () ⇒ JsCmd), theScreen: AbstractScreen, ajax_?: Boolean): NodeSeq

    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  76. def renderHtml (): NodeSeq

    Attributes
    protected
  77. def screenBottom : Box[Elem]

    Definition Classes
    AbstractScreen
  78. def screenFields : List[BaseField]

    A list of fields in this screen

    A list of fields in this screen

    Definition Classes
    AbstractScreen
  79. def screenName : String

    The name of the screen.

    The name of the screen. Override this to change the screen name

    Definition Classes
    AbstractScreen
  80. def screenNameAsHtml : NodeSeq

    Definition Classes
    AbstractScreen
  81. def screenTitle : NodeSeq

    Definition Classes
    AbstractScreen
  82. def screenTop : Box[Elem]

    Definition Classes
    AbstractScreen
  83. def screenValidate : List[FieldError]

    Definition Classes
    AbstractScreen
  84. def select [T] (name: ⇒ String, default: ⇒ T, choices: ⇒ Seq[T], stuff: FilterOrValidate[T]*)(implicit f: PairStringPromoter[T]): Field { ... /* 2 definitions in type refinement */ }

    Create a select HTML element

    Create a select HTML element

    name

    the name of the field (call-by-name)

    default

    the starting value of the field (call-by-name)

    choices

    the possible choices for the select

    stuff

    - a list of filters and validations for the field

    f

    a PairStringPromoter (a wrapper around a function) that converts T => display String

    Attributes
    protected
    Definition Classes
    AbstractScreen
  85. implicit def strToListFieldError (msg: String): List[FieldError]

    Attributes
    implicit
    Definition Classes
    AbstractScreen
  86. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  87. def text (name: ⇒ String, defaultValue: ⇒ String, stuff: FilterOrValidate[String]*): Field { type ValueType = String }

    Create a text field

    Create a text field

    name

    the name of the field (call-by-name)

    defaultValue

    the starting value of the field (call-by-name)

    stuff

    the filters, validators and attributes

    Attributes
    protected
    Definition Classes
    AbstractScreen
  88. def textarea (name: ⇒ String, defaultValue: ⇒ String, rows: Int, cols: Int, stuff: FilterOrValidate[String]*): Field { type ValueType = String }

    Create a textarea Field

    Create a textarea Field

    name

    the name of the field (call-by-name)

    defaultValue

    the starting value of the field (call-by-name)

    rows

    the number of rows in the textarea

    cols

    the number of columns in the textarea

    stuff

    - a list of filters and validations for the field

    Attributes
    protected
    Definition Classes
    AbstractScreen
  89. def textarea (name: ⇒ String, defaultValue: ⇒ String, stuff: FilterOrValidate[String]*): Field { type ValueType = String }

    Create a textarea Field with 80 columns and 5 rows

    Create a textarea Field with 80 columns and 5 rows

    name

    the name of the field (call-by-name)

    defaultValue

    the starting value of the field (call-by-name)

    stuff

    - a list of filters and validations for the field

    Attributes
    protected
    Definition Classes
    AbstractScreen
  90. def toForm : NodeSeq

  91. def toLower : (String) ⇒ String

    Attributes
    protected
    Definition Classes
    AbstractScreen
  92. def toString (): String

    Definition Classes
    AbstractScreen → AnyRef → Any
  93. def toUpper : (String) ⇒ String

    Attributes
    protected
    Definition Classes
    AbstractScreen
  94. def trim : (String) ⇒ String

    Attributes
    protected
    Definition Classes
    AbstractScreen
  95. def unregisterThisSnippet (): Unit

    Definition Classes
    StatefulSnippet
  96. def valMaxLen (len: ⇒ Int, msg: ⇒ String): (String) ⇒ List[FieldError]

    A validation helper.

    A validation helper. Make sure the string is no more than a particular length and generate a validation issue if not

    Attributes
    protected
    Definition Classes
    AbstractScreen
  97. def valMinLen (len: ⇒ Int, msg: ⇒ String): (String) ⇒ List[FieldError]

    A validation helper.

    A validation helper. Make sure the string is at least a particular length and generate a validation issue if not

    Attributes
    protected
    Definition Classes
    AbstractScreen
  98. def valRegex (pat: ⇒ Pattern, msg: ⇒ String): (String) ⇒ List[FieldError]

    Make sure the field matches a regular expression

    Make sure the field matches a regular expression

    Attributes
    protected
    Definition Classes
    AbstractScreen
  99. def validate : List[FieldError]

    Definition Classes
    AbstractScreen
  100. def validations : List[() ⇒ List[FieldError]]

    Definition Classes
    AbstractScreen
  101. def vendAVar [T] (dflt: ⇒ T): NonCleanAnyVar[T]

    Attributes
    protected
    Definition Classes
    LiftScreenAbstractScreen
  102. def vendForm [T] (implicit man: Manifest[T]): Box[(T, (T) ⇒ Any) ⇒ NodeSeq]

    Attributes
    protected
    Definition Classes
    AbstractScreen
  103. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  104. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  105. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  106. def wrapInDiv (in: NodeSeq): Elem

    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  107. implicit def xmlToListFieldError (msg: NodeSeq): List[FieldError]

    Attributes
    implicit
    Definition Classes
    AbstractScreen
  108. def _register (field: () ⇒ FieldContainer): Unit

    Use addFields

    Use addFields

    @deprecated

    Attributes
    protected
    Definition Classes
    AbstractScreen
    Annotations
    @deprecated
    Deprecated

    use addFields()

Inherited from ScreenWizardRendered

Inherited from StatefulSnippet

Inherited from DispatchSnippet

Inherited from AbstractScreen

Inherited from Factory

Inherited from SimpleInjector

Inherited from Injector

Inherited from AnyRef

Inherited from Any