MoreMotion Face API

Class ComboBox

Object
   |
   +--MoreMotionObject
         |
         +--ProcessField
               |
               +--ComboBox

class ComboBox
extends ProcessField


Wrapper class of an one-line HTML <SELECT> Element that exists in a Process Block.


 <select
   name="pf_CITIES" onchange="PMgr.fieldChanged(this);"
   mo:type="ComboBox" 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 isComboBox
          
 Object needsValueCloning
          
   
Fields inherited from class ProcessField
props, isProcessField, elm, needsValueCloning
   
Fields inherited from class MoreMotionObject
node, name, type, isMoreMotionObject, props
 
Constructor Summary
ComboBox(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

isComboBox

boolean isComboBox

needsValueCloning

Object needsValueCloning

Constructor Detail

ComboBox

ComboBox(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