PresentationNode
containing all of the attributes necessary to
model an input field on screen.
Attributes | Name and Description |
---|---|
|
caplin.presenter.node.Field(Object vValue)
Constructs a new instance of |
Attributes | Name and Description |
---|---|
|
controlName
The logical control-name the field is being bound to — this
value will appear within the |
|
enabled
A boolean property representing whether the input field is enabled or not. |
|
failureMessage
A textual description of the currently failing validation message when #hasError is |
|
hasError
A boolean property that is |
|
label
The textual label associated with the input field. |
|
value
The current value displayed within the input field. |
|
visible
A boolean property representing whether the input field is visible or not. |
►
caplin.presenter.node.Field(Object vValue)
Constructs a new instance of Field
.
Object | vValue | (optional) The initial value of the field, either using a primitive type or as a caplin.presenter.property.EditableProperty. |
►
caplin.presenter.property.WritableProperty
controlName
The logical control-name the field is being bound to — this
value will appear within the name
attribute if being bound
to a native HTML control.
►
caplin.presenter.property.WritableProperty
enabled
A boolean property representing whether the input field is enabled or not.
►
caplin.presenter.property.WritableProperty
failureMessage
A textual description of the currently failing validation message when #hasError is true
.
►
caplin.presenter.property.WritableProperty
hasError
A boolean property that is true
if #value has any validation errors, and false
otherwise.
►
caplin.presenter.property.WritableProperty
label
The textual label associated with the input field.
►
caplin.presenter.property.EditableProperty
value
The current value displayed within the input field.
►
caplin.presenter.property.WritableProperty
visible
A boolean property representing whether the input field is visible or not.