MoreMotion Face API

Class ListBox

Object
   |
   +--MoreMotionObject
         |
         +--ProcessField
               |
               +--ListBox

class ListBox
extends ProcessField


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.
Defined in Process.js


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)
          
 void init()
          
 
Methods inherited from class ProcessField
setValue, getValue, clear, setModified, isModified, getRecord, validate, setSubmitPrefix, appendRequestParams, focusTab, notify, runValidationHandler, checkValueIsAvailable, checkValueIsNumber, checkHasValidValue, runHandler
   
Methods inherited from class MoreMotionObject
saveProps, boolProp, numberProp, charProp, getIValue, setIValue
 

Field Detail

isListBox

boolean isListBox

needsValueCloning

Object needsValueCloning

Constructor Detail

ListBox

ListBox(node)

Method Detail

base

void base(node)

init

void init()

MoreMotion Face API

Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by JSDoc on Mon Sep 29 14:52:55 2008