MoreMotion Face API

Class ProcessForm

Object
   |
   +--MoreMotionObject
         |
         +--ProcessForm

class ProcessForm
extends MoreMotionObject


Represents of a Process Form. A Process Form is outer most container for process based elements in a page. It may contain ProcessBlock, ProcessCommand and process objects.


// *   <form mo:type="ProcessForm" mo:name="OrderUpdate" action="ProcessManager.doms"
            mo:props="formConfigName:'OrderUpdate'" >
     ...
   </form>
 
The formConfigName property defines the configuration name of the form.
Defined in Process.js


Field Summary
 Object props
          ProcessForm Properties Object.
   
Fields inherited from class MoreMotionObject
node, name, type, props
 
Constructor Summary
ProcessForm(node)
           
 
Method Summary
 void clear()
           Clears all the ProcessBlock objects existing in this Process Form
 void disableCommandButtons()
           Disables all the command buttons existing in this Process Form
 void disableForm(duration)
           Disables this form so it cannot be submitted
 void enableCommandButtons()
           Enables all the command buttons existing in this Process Form
 void enableForm()
           Enables this form so it can be submitted
 ProcessBlock getBlock(name)
           Returns the Process Block associated with the specified name.
 ProcessCommand getCommand(name)
           Returns the Process Command associated with the specified name
 Boolean isDisabled()
           Returns true if this form is disabled for submit, false otherwise
 void reset()
           Resets all the HTML Input fields existing in this Process Form and removes the modified statuses of all the ProcessRecord objects.
 void resetAction()
          
 void setAction(action)
          
 Object submit(commandName, target, disableDuration)
           Submits this Process Form with the specified command.
 Object validate(commandName)
           Validates this Process Form according to the given command name
 
Methods inherited from class MoreMotionObject
saveProps, setProp, boolProp, numberProp, charProp, getIValue, setIValue, runHandler
 

Field Detail

props

Object props

Constructor Detail

ProcessForm

ProcessForm(node)

Method Detail

clear

void clear()

disableCommandButtons

void disableCommandButtons()

disableForm

void disableForm(duration)

enableCommandButtons

void enableCommandButtons()

enableForm

void enableForm()

getBlock

ProcessBlock getBlock(name)

getCommand

ProcessCommand getCommand(name)

isDisabled

Boolean isDisabled()

reset

void reset()

resetAction

void resetAction()

setAction

void setAction(action)

submit

Object submit(commandName, target, disableDuration)

validate

Object validate(commandName)

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011