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
 boolean isProcessForm
          
 Object props
          ProcessForm Properties Object.
   
Fields inherited from class MoreMotionObject
node, name, type, isMoreMotionObject, props
 
Constructor Summary
ProcessForm(node)
           
 
Method Summary
 void base(node)
          
 void clear()
           Clears all the ProcessBlock objects existing in this Process Form
 Object createHidden(name)
           Creates a hidden input element with the given name.
 void disableCommandButtons()
           Disables all the command buttons existing in this Process Form
 void enableCommandButtons()
           Enables all the command buttons existing in this Process Form
 ProcessBlock getBlock(name)
           Returns the Process Block associated with the specified name.
 ProcessCommand getCommand(name)
           Returns the Process Command associated with the specified name
 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, targetParam)
           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, boolProp, numberProp, charProp, getIValue, setIValue
 

Field Detail

isProcessForm

boolean isProcessForm

props

Object props

Constructor Detail

ProcessForm

ProcessForm(node)

Method Detail

base

void base(node)

clear

void clear()

createHidden

Object createHidden(name)

disableCommandButtons

void disableCommandButtons()

enableCommandButtons

void enableCommandButtons()

getBlock

ProcessBlock getBlock(name)

getCommand

ProcessCommand getCommand(name)

reset

void reset()

resetAction

void resetAction()

setAction

void setAction(action)

submit

Object submit(commandName, targetParam)

validate

Object validate(commandName)

MoreMotion Face API

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