MoreMotion Face API

Class ProcessCommand

Object
   |
   +--ProcessCommand

class ProcessCommand


Represents a Process Command. This class wraps an INPUT type="botton" or an INPUT type="hidden" element whose name is "__pcommand". The wrapped element must reside in a FORM that ise wrapped by ProcessForm class

Example:


 <input name="__pcommand" type="button" value="Delete"
   onclick="if (PMgr.submitProcessForm('ProcessForm1','ExecuteCommand1' ,'Default' ) == false) return false;"
   mo:name="ExecuteCommand1" mo:props="requiredBlocks:'ProcessBlock1', validateInput:true" />
 
The value and the onclick attributes are not applicable if the element type is INPUT type="hidden". In that case the element is just a process command definition and PMgr.submitProcessForm() call needs to be triggered by another DHTML event procedure of another element in the page.

Defined in Process.js


Field Summary
 Object props
          ProcessCommand Properties Object.
 
Constructor Summary
ProcessCommand(node)
           
 

Field Detail

props

Object props

Constructor Detail

ProcessCommand

ProcessCommand(node)

MoreMotion Face API

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