net.liftweb.util.SettableField

trait SettableField

trait SettableField

 extends ReadableField with SettableValueHolder


A field that can be set


Source: BaseField.scala(75)

Direct Known Subclasses

BaseField,

 Fields

asHtml.. def asHtml
Default read-only rendering of field
NodeSeq ReadableField
displayHtml.. def displayHtml NodeSeq ReadableField
displayName.. def displayName
The display name of this field (e [details]
g., "First Name")
String ReadableField
displayNameHtml.. def displayNameHtml Box[NodeSeq] ReadableField
fieldId.. def fieldId
A unique 'id' for the field for form generation
Option[NodeSeq]
get.. abstract def get ValueType ValueHolder
helpAsHtml.. def helpAsHtml Box[NodeSeq]
is.. abstract def is ValueType ValueHolder
name.. abstract def name
The human name of this field
String ReadableField
required_?.. def required_?
Is the Field required (and will have a style designating it as such)
Boolean
show_?.. def show_?
Give the current state of things, should the this field be shown
Boolean
toForm.. abstract def toForm
Create an input field for the item
Box[NodeSeq]
uniqueFieldId.. def uniqueFieldId Box[String] FieldIdentifier
uploadField_?.. def uploadField_?
Is this an upload field so that a form that includes this field must be multi-part mime
Boolean
validate.. abstract def validate
Validate this field and return a list of Validation Issues
List[FieldError]

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
set.. abstract def set(in : ValueType) ValueType SettableValueHolder
setFilter.. protected abstract def setFilter
A list of functions that transform the value before it is set [details]
The transformations are also applied before the value is used in a query. Typical applications of this are trimming and/or toLowerCase-ing strings
List[(ValueType) => ValueType]
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
validations.. abstract def validations List[(ValueType) => List[FieldError]]
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.