Trait

net.liftweb.http

LiftScreen

Related Doc: package http

Permalink

trait LiftScreen extends AbstractScreen with StatefulSnippet with ScreenWizardRendered

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

Type Members

  1. final case class AFieldBinding(binding: FieldBinding) extends FilterOrValidate[Nothing] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  2. final case class AFilter[T](f: (T) ⇒ T) extends FilterOrValidate[T] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  3. final case class AVal[T](v: (T) ⇒ List[FieldError]) extends FilterOrValidate[T] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  4. sealed trait BoxMarker extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  5. class CssClassBinding extends AnyRef

    Permalink
    Definition Classes
    ScreenWizardRendered
  6. type DispatchIt = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Permalink
    Definition Classes
    DispatchSnippet
  7. final case class DisplayIf(func: (BaseField) ⇒ Boolean) extends FilterOrValidate[Nothing] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  8. type Errors = List[FieldError]

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  9. abstract class FactoryMaker[T] extends StackableMaker[T] with Vendor[T]

    Permalink

    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.

    Definition Classes
    Factory
  10. trait Field extends ConfirmField

    Permalink

    A field that's part of a Screen

    A field that's part of a Screen

    Definition Classes
    AbstractScreen
  11. class FieldBuilder[T] extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  12. final case class FieldTransform(func: (BaseField) ⇒ (NodeSeq) ⇒ NodeSeq) extends FilterOrValidate[Nothing] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  13. sealed trait FilterOrValidate[+T] extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  14. final case class FormFieldId(id: String) extends FilterOrValidate[Nothing] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  15. final case class FormParam(fp: SHtml.ElemAttr) extends FilterOrValidate[Nothing] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  16. final case class Help(ns: NodeSeq) extends FilterOrValidate[Nothing] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  17. abstract class Inject[T] extends StackableMaker[T] with Vendor[T]

    Permalink

    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.

    Definition Classes
    SimpleInjector
  18. sealed trait OtherValueInitializer[T] extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  19. final case class OtherValueInitializerImpl[T](f: () ⇒ T) extends OtherValueInitializer[T] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  20. class ScreenSnapshot extends Snapshot

    Permalink
    Attributes
    protected
  21. abstract class ScreenVar[T] extends NonCleanAnyVar[T]

    Permalink

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

    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.

  22. trait Snapshot extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    ScreenWizardRendered

Abstract Value Members

  1. abstract def finish(): Unit

    Permalink
    Attributes
    protected
  2. abstract def formName: String

    Permalink
    Definition Classes
    ScreenWizardRendered

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object AjaxOnDone extends ScreenVar[JsCmd]

    Permalink

    What to do when the Screen is done.

    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
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  5. object Ajax_? extends ScreenVar[Boolean]

    Permalink
    Attributes
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  6. implicit object BoxMarkerObj extends BoxMarker

    Permalink

    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
    protected
    Definition Classes
    AbstractScreen
  7. object CancelId extends TransientRequestVar[String]

    Permalink
    Attributes
    protected
  8. object Field

    Permalink
    Definition Classes
    AbstractScreen
  9. object FilterOrValidate

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  10. object FormGUID extends ScreenVar[String]

    Permalink

    A unique GUID for the form...

    A unique GUID for the form... this allows us to do an Ajax SetHtml to replace the form

    Attributes
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  11. object LocalAction extends TransientRequestVar[String]

    Permalink
    Attributes
    protected
  12. object LocalActionRef extends RequestVar[String]

    Permalink
    Attributes
    protected
  13. object LocalActions extends ScreenVar[AtomicReference[Map[String, () ⇒ JsCmd]]]

    Permalink
    Attributes
    protected
  14. object NextId extends ScreenVar[String]

    Permalink
  15. object NotOnConfirmScreen extends FilterOrValidate[Nothing] with Product with Serializable

    Permalink

    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
    protected
    Definition Classes
    AbstractScreen
  16. object NothingOtherValueInitializer extends OtherValueInitializer[Nothing] with Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  17. object OnConfirmScreen extends FilterOrValidate[Nothing] with Product with Serializable

    Permalink

    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
    protected
    Definition Classes
    AbstractScreen
  18. object PrevSnapshot extends TransientRequestVar[Box[ScreenSnapshot]]

    Permalink
    Attributes
    protected
  19. object Referer extends ScreenVar[String]

    Permalink
    Attributes
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  20. object SavedDefaultXml extends ScreenVar[NodeSeq]

    Permalink
    Attributes
    protected
  21. object _defaultXml extends TransientRequestVar[NodeSeq]

    Permalink

    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
    protected
  22. def addFields(fields: () ⇒ FieldContainer): Unit

    Permalink

    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
  23. def addName(name: String): Unit

    Permalink
    Definition Classes
    StatefulSnippet
  24. def additionalAttributes: MetaData

    Permalink

    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)

    Definition Classes
    AbstractScreen
  25. def additionalFormBindings: Box[CssSel]

    Permalink
    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  26. def ajaxForms_?: Boolean

    Permalink

    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
  27. def allTemplate: NodeSeq

    Permalink
    Attributes
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  28. def allTemplateNodeSeq: NodeSeq

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

    Permalink
    Attributes
    protected
  30. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  31. def bindLocalAction(selector: String, func: () ⇒ JsCmd): CssSel

    Permalink
    Attributes
    protected
  32. implicit def boxOfScreen[T <: AbstractScreen](in: T): Box[T]

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

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

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

    Permalink

    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 field (e.g., localize its name)

    default

    - the default value of the field

    stuff

    - any filter or validation functions

    Attributes
    protected
    Definition Classes
    AbstractScreen
  36. def calcAjax: Boolean

    Permalink

    Calculate if this Screen/Wizard should be ajax

    Calculate if this Screen/Wizard should be ajax

    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  37. def calcAjaxOnDone: JsCmd

    Permalink

    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
  38. def calcReferer: String

    Permalink

    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
  39. def cancelButton: Elem

    Permalink
    Definition Classes
    AbstractScreen
  40. def clone(): AnyRef

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

    Permalink
    Attributes
    protected
    Definition Classes
    LiftScreenScreenWizardRendered
  42. lazy val cssClassBinding: CssClassBinding

    Permalink
    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  43. object currentField extends ThreadGlobal[FieldIdentifier]

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  44. def defaultFieldNodeSeq: NodeSeq

    Permalink
    Definition Classes
    ScreenWizardRendered
  45. def defaultToAjax_?: Boolean

    Permalink

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

    Permalink

    the NodeSeq passed as a parameter when the snippet was invoked

    the NodeSeq passed as a parameter when the snippet was invoked

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

    Permalink
    Definition Classes
    LiftScreenDispatchSnippet
  48. def doFinish(): JsCmd

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

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  50. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. def equals(arg0: Any): Boolean

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

    Permalink

    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
  53. def field[T](underlying: ⇒ Box[BaseField { type ValueType = T }], stuff: FilterOrValidate[T]*)(implicit man: Manifest[T], marker: BoxMarker): Field { type ValueType = T }

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  56. def finishButton: Elem

    Permalink
    Definition Classes
    AbstractScreen
  57. def formAttrs: MetaData

    Permalink

    What additional attributes should be put on

    What additional attributes should be put on

    Attributes
    protected
  58. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  59. def grabParams(in: Seq[FilterOrValidate[_]]): List[SHtml.ElemAttr]

    Permalink

    Grabs the FormFieldId and FormParam parameters

    Grabs the FormFieldId and FormParam parameters

    Attributes
    protected
    Definition Classes
    AbstractScreen
  60. def hasUploadField: Boolean

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

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

    Permalink

    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

    Definition Classes
    SimpleInjectorInjector
  63. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  64. def labelSuffix: NodeSeq

    Permalink
    Definition Classes
    ScreenWizardRendered
  65. def link(to: String, func: () ⇒ Any, body: NodeSeq, attrs: SHtml.ElemAttr*): Elem

    Permalink

    create an anchor tag around a body

    create an anchor tag around a body

    to

    - the target

    func

    - the function to invoke when the link is clicked

    body

    - the NodeSeq to wrap in the anchor tag

    attrs

    - the (optional) attributes for the HTML element

    Definition Classes
    StatefulSnippet
  66. def localSetup(): Unit

    Permalink

    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
  67. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Loggable
  68. 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 */ }

    Permalink

    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

    theToForm

    a function to convert the field into a form

    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

    returns

    a newly minted Field

    Attributes
    protected
    Definition Classes
    AbstractScreen
  69. def mapLocalAction[T](func: () ⇒ JsCmd)(f: (String) ⇒ T): T

    Permalink
    Attributes
    protected
  70. def maxVal[T](len: ⇒ T, msg: ⇒ String)(implicit f: (T) ⇒ Number): (T) ⇒ List[FieldError]

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

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

    Permalink

    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

    returns

    a newly minted Field{type ValueType = String}

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

    Permalink
    Definition Classes
    StatefulSnippet
  74. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  75. def notNull: (String) ⇒ String

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

    Permalink
    Definition Classes
    AbstractScreen
  77. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  78. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  79. def onConfirm_?: Boolean

    Permalink

    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
  80. def password(name: ⇒ String, defaultValue: ⇒ String, stuff: FilterOrValidate[String]*): Field { type ValueType = String }

    Permalink

    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

    returns

    a newly minted Field

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

    Permalink

    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

    returns

    a newly minted Field{type ValueType = String}

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

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

    Permalink

    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

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

    Permalink

    Register a function that will inject for the given Manifest

    Register a function that will inject for the given Manifest

    Definition Classes
    SimpleInjector
  85. def registerThisSnippet(): Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  87. 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

    Permalink
    Attributes
    protected
    Definition Classes
    ScreenWizardRendered
  88. def renderFormCmd: JsCmd

    Permalink
    Attributes
    protected
  89. def renderHtml(): NodeSeq

    Permalink
    Attributes
    protected
  90. def renderWithErrors(errors: List[FieldError]): Unit

    Permalink
    Attributes
    protected
  91. def replayForm: JsCmd

    Permalink
    Attributes
    protected
  92. def savedDefaultXml: NodeSeq

    Permalink
    Attributes
    protected
  93. def screenBottom: Box[Elem]

    Permalink
    Definition Classes
    AbstractScreen
  94. def screenFields: List[BaseField]

    Permalink

    A list of fields in this screen

    A list of fields in this screen

    Definition Classes
    AbstractScreen
  95. def screenName: String

    Permalink

    The name of the screen.

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

    Definition Classes
    AbstractScreen
  96. def screenNameAsHtml: NodeSeq

    Permalink
    Definition Classes
    AbstractScreen
  97. def screenTitle: NodeSeq

    Permalink
    Definition Classes
    AbstractScreen
  98. def screenTop: Box[Elem]

    Permalink
    Definition Classes
    AbstractScreen
  99. def screenValidate: List[FieldError]

    Permalink
    Definition Classes
    AbstractScreen
  100. def seeOther(where: String): Nothing

    Permalink

    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

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

    Permalink

    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

    returns

    a newly minted Field{type ValueType = String}

    Attributes
    protected
    Definition Classes
    AbstractScreen
  102. def setLocalAction(s: String): Unit

    Permalink
    Attributes
    protected
  103. implicit def strToListFieldError(msg: String): List[FieldError]

    Permalink
    Definition Classes
    AbstractScreen
  104. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    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

    returns

    a newly minted Field

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

    Permalink

    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

    returns

    a newly minted Field{type ValueType = String}

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

    Permalink

    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

    returns

    a newly minted Field{type ValueType = String}

    Attributes
    protected
    Definition Classes
    AbstractScreen
  108. def toForm: NodeSeq

    Permalink
  109. def toLower: (String) ⇒ String

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

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

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

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

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

    Permalink

    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
  115. def valMinLen(len: ⇒ Int, msg: ⇒ String): (String) ⇒ List[FieldError]

    Permalink

    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
  116. def valRegex(pat: ⇒ Pattern, msg: ⇒ String): (String) ⇒ List[FieldError]

    Permalink

    Make sure the field matches a regular expression

    Make sure the field matches a regular expression

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractScreen
  121. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  124. def wrapInDiv(in: NodeSeq): Elem

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

    Permalink
    Definition Classes
    AbstractScreen

Inherited from ScreenWizardRendered

Inherited from StatefulSnippet

Inherited from DispatchSnippet

Inherited from AbstractScreen

Inherited from Loggable

Inherited from Factory

Inherited from SimpleInjector

Inherited from Injector

Inherited from AnyRef

Inherited from Any

Ungrouped