trait BaseField extends SettableField with FieldContainer
- Alphabetic
- By Inheritance
- BaseField
- FieldContainer
- SettableField
- SettableValueHolder
- Settable
- ReadableField
- Bindable
- ValueHolder
- FieldIdentifier
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type ValueType
- Definition Classes
- ValueHolder
Abstract Value Members
- abstract def get: ValueType
get the value
get the value
- Definition Classes
- ValueHolder
- abstract def name: String
The human name of this field
The human name of this field
- Definition Classes
- ReadableField
- abstract def set(in: ValueType): ValueType
- Definition Classes
- Settable
- abstract def setFilter: List[(ValueType) => ValueType]
A list of functions that transform the value before it is set.
A list of functions that transform the value before it is set. The transformations are also applied before the value is used in a query. Typical applications of this are trimming and/or toLowerCase-ing strings
- Definition Classes
- SettableField
- abstract def toForm: Box[NodeSeq]
Create an input field for the item
Create an input field for the item
- Definition Classes
- SettableField
- abstract def validate: List[FieldError]
Validate this field and return a list of Validation Issues
Validate this field and return a list of Validation Issues
- Definition Classes
- SettableField
- abstract def validations: List[(ValueType) => List[FieldError]]
- Definition Classes
- SettableField
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def allFields: Seq[BaseField]
- Definition Classes
- BaseField → FieldContainer
- def asHtml: NodeSeq
Default read-only rendering of field
Default read-only rendering of field
- Definition Classes
- ReadableField → Bindable
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def atomicUpdate(f: (ValueType) => ValueType): ValueType
Perform an atomic update of this Settable.
Perform an atomic update of this Settable. The current value is passed to the function and the ValueHolder is set to the result of the function. This is enclosed in the performAtomicOperation method which will, by default, synchronize this instance
- Definition Classes
- Settable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def displayHtml: NodeSeq
- Definition Classes
- ReadableField
- def displayName: String
The display name of this field (e.g., "First Name")
The display name of this field (e.g., "First Name")
- Definition Classes
- ReadableField
- def displayNameHtml: Box[NodeSeq]
- Definition Classes
- ReadableField
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fieldId: Option[NodeSeq]
A unique 'id' for the field for form generation
A unique 'id' for the field for form generation
- Definition Classes
- SettableField
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def helpAsHtml: Box[NodeSeq]
- Definition Classes
- SettableField
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def performAtomicOperation[T](f: => T): T
Perform an atomic operation on the Settable.
Perform an atomic operation on the Settable. By default synchronizes the instance, but it could use other mechanisms
- Definition Classes
- Settable
- def required_?: Boolean
Is the Field required (and will have a style designating it as such)
Is the Field required (and will have a style designating it as such)
- Definition Classes
- SettableField
- def shouldDisplay_?: Boolean
Given the current context, should this field be displayed
Given the current context, should this field be displayed
- Definition Classes
- ReadableField
- def show_?: Boolean
Given the current state of things, should this field be shown
Given the current state of things, should this field be shown
- Definition Classes
- SettableField
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def uniqueFieldId: Box[String]
- Definition Classes
- FieldIdentifier
- def uploadField_?: Boolean
Is this an upload field so that a form that includes this field must be multi-part mime
Is this an upload field so that a form that includes this field must be multi-part mime
- Definition Classes
- SettableField
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()