Encode the field value into a JValue
Encode the field value into a JValue
Returns the field's value as a valid JavaScript expression
Returns the field's value as a valid JavaScript expression
get the value
get the value
Return the owner of this field
Return the owner of this field
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
Validate this field and return a list of Validation Issues
Validate this field and return a list of Validation Issues
Get the value.
Get the value. Use get.
(Since version 2.4) Use get
Default read-only rendering of field
Default read-only rendering of field
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
Can the value of this field be read without obscuring the result?
Can the value of this field be read without obscuring the result?
Can the value of this field be written?
Can the value of this field be written?
If the owner is not in "safe" mode, check the current environment to see if the field can be read
If the owner is not in "safe" mode, check the current environment to see if the field can be read
If the owner is not in "safe" mode, check the current environment to see if the field can be written
If the owner is not in "safe" mode, check the current environment to see if the field can be written
The display name of this field (e.
The display name of this field (e.g., "First Name")
A unique 'id' for the field for form generation
A unique 'id' for the field for form generation
Should the dirty flag always be set when setBox is called
Should the dirty flag always be set when setBox is called
What form elements are we going to add to this field?
What form elements are we going to add to this field?
Form field's type.
Form field's type. Defaults to 'text', but you may want to change it to other HTML5 values.
Should the field be ignored by the OR Mapper?
Should the field be ignored by the OR Mapper?
The text name of this field
The text name of this field
The error message used when the field value could not be set
The error message used when the field value could not be set
The error message used when the field value must be set
The error message used when the field value must be set
Is the value of this field optional (e.
Is the value of this field optional (e.g. NULLable)?
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
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)
Are we in "safe" mode (i.
Are we in "safe" mode (i.e., the value of the field can be read or written without any security checks.)
Given the current context, should this field be displayed
Given the current context, should this field be displayed
Given the current state of things, should this field be shown
Given the current state of things, should this field be shown
Generate a form control for the field
Generate a form control for the field
Convert the field value to an XHTML representation
Convert the field value to an XHTML representation
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
Mix in to a field to change its form display to be formatted with the label aside.
E.g.
{ control }