|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MoreMotionObject
|
+--ProcessField
|
+--ListBox
Wrapper class of a multi-line HTML <SELECT> Element that exists in a Process Block.
<select
name="pf_CITIES" size="2" onchange="PMgr.fieldChanged(this);"
mo:type="ListBox" mo:field="true" mo:name="CITIES" mo:iValue="2" mo:needsInit="true"
mo:props="nonBlank:true" >
<option value="1">Option 1<option>
<option value="2">Option 2<option>
</select>
The name attribute of the element should have a "pf_" prefix indicate
that it is a ProcessField.
| Field Summary | |
boolean |
isListBox
|
Object |
needsValueCloning
|
| Fields inherited from class ProcessField |
props, isProcessField, elm, needsValueCloning
|
| Fields inherited from class MoreMotionObject |
node, name, type, isMoreMotionObject, props
|
| Constructor Summary | |
ListBox(node)
|
|
| Method Summary | |
void
|
base(node)
|
Object
|
getValue()
Returns the value of this field |
void
|
init()
|
void
|
setValue(value)
Sets the value of this field. |
| Methods inherited from class ProcessField |
clear, reset, setModified, isModified, getRecord, validate, appendRequestParams, focusTab, notify, runValidationHandler, checkValueIsAvailable, checkValueIsNumber, checkHasValidValue, runHandler
|
| Methods inherited from class MoreMotionObject |
saveProps, setProp, boolProp, numberProp, charProp, getIValue, setIValue
|
| Field Detail |
boolean isListBox
Object needsValueCloning
| Constructor Detail |
ListBox(node)
| Method Detail |
void base(node)
node - the DOM Element node that is wrapped by this field
Object getValue()
void init()
void setValue(value)
value - The value to set to the field.
|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||