net.liftweb.record.BaseField

trait BaseField

trait BaseField

 extends FieldIdentifier with BaseField


Base trait of record fields, with functionality common to any type of field owned by any type of record


Source: Field.scala(28)

Direct Known Subclasses

TypedField, OwnedField,

 Fields

allFields.. def allFields Seq[BaseField] BaseField
asHtml.. def asHtml NodeSeq ReadableField
asJValue.. abstract def asJValue
Encode the field value into a JValue
JValue
asJs.. abstract def asJs
Returns the field's value as a valid JavaScript expression
JsExp
asString.. abstract def asString String
canRead_?.. def canRead_?
Can the value of this field be read without obscuring the result?
Boolean
canWrite_?.. def canWrite_?
Can the value of this field be written?
Boolean
checkCanRead_?.. def checkCanRead_?
If the owner is not in "safe" mode, check the current environment to see if the field can be read
Boolean
checkCanWrite_?.. def checkCanWrite_?
If the owner is not in "safe" mode, check the current environment to see if the field can be written
Boolean
dirty_?.. def dirty_? Boolean
displayHtml.. def displayHtml NodeSeq ReadableField
displayName.. def displayName String ReadableField
displayNameHtml.. def displayNameHtml Box[NodeSeq] ReadableField
fieldId.. def fieldId Option[NodeSeq] SettableField
get.. abstract def get ValueType ValueHolder
helpAsHtml.. def helpAsHtml Box[NodeSeq] SettableField
ignoreField_?.. def ignoreField_?
Should the field be ignored by the OR Mapper?
Boolean
is.. abstract def is ValueType ValueHolder
label.. def label NodeSeq
name.. def name
The text name of this field
String
noValueErrorMessage.. def noValueErrorMessage
The error message used when the field value could not be set
String
notOptionalErrorMessage.. def notOptionalErrorMessage
The error message used when the field value must be set
String
optional_?.. def optional_?
Is the value of this field optional (e [details]
g. NULLable)?
Boolean
required_?.. def required_? Boolean SettableField
safe_?.. def safe_? Boolean
shouldDisplay_?.. def shouldDisplay_? Boolean ReadableField
show_?.. def show_? Boolean SettableField
tabIndex.. def tabIndex Int
toForm.. abstract def toForm
Generate a form control for the field
Box[NodeSeq]
toXHtml.. def toXHtml
Convert the field value to an XHTML representation
NodeSeq
uniqueFieldId.. override def uniqueFieldId Box[String]
uploadField_?.. def uploadField_? Boolean SettableField
validate.. abstract def validate List[FieldError] SettableField

 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
dirty_?.. protected def dirty_?(b : Boolean) Unit
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
resetDirty.. def resetDirty Unit
set.. abstract def set(arg0 : ValueType) ValueType Settable
setFilter.. protected abstract def setFilter List[(ValueType) => ValueType] SettableField
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
validations.. abstract def validations List[(ValueType) => List[FieldError]] SettableField
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.