|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--ProcessObjectManager
Manager Class that provides methods to manage the Process Based Wrapper Objects of MoreMotion.
A static object of this class is available with name PMgr.
var PMgr = new ProcessObjectManager();
| Field Summary | |
Object |
runningCommandName
Contains the name of the command being executed. |
| Constructor Summary | |
ProcessObjectManager()
|
|
| Method Summary | |
void
|
fieldChanged(node)
|
ProcessBlock
|
getEnclosingBlock(node)
Returns the ProcessBlock object that encloses the given DOM Element node |
ProcessField
|
getEnclosingField(node)
Returns the ProcessField object that encloses the given the DOM Element node |
ProcessForm
|
getEnclosingForm(node)
Returns the ProcessForm object that encloses the given DOM Element node |
ProcessRecord
|
getEnclosingRecord(node)
Returns the ProcessRecord object that encloses the given DOM Element node |
ProcessField
|
getField(formName, blockName, fieldName, recordNumber)
Returns the specified ProcessField object. |
ProcessForm
|
getForm(name)
Returns the ProcessForm object associated with the specified name |
void
|
recordChanged(node, fname)
Sets the Process Record that the specified element resides in into the modified status. |
void
|
selectOption(node)
Sets the initial value of an OptionBox Field |
Object
|
submitOnEnter(e,frm,cmd,target)
Submits the given form with given command if enter key is pressed. |
boolean
|
submitProcessForm(formName, commandName, target)
Submits the specified ProcessForm using the specified ProcessCommand. |
| Field Detail |
Object runningCommandName
| Constructor Detail |
ProcessObjectManager()
| Method Detail |
void fieldChanged(node)
ProcessBlock getEnclosingBlock(node)
HTMLElement - > Node of a DOM Element
ProcessField getEnclosingField(node)
HTMLElement - > Node of a DOM Element
ProcessForm getEnclosingForm(node)
HTMLElement - > Node of a DOM Element
ProcessRecord getEnclosingRecord(node)
HTMLElement - > Node of a DOM Element
ProcessField getField(formName, blockName, fieldName, recordNumber)
formName - The name of the ProcessForm
blockName - The name of the ProcessBlock in the ProcessForm
fieldName - The name of the ProcessField in the ProcessBlock
recordNumber - The sequence number of the ProcessRecord in the ProcessBlock. If this parameter is omitted "1" is assumed.
ProcessForm getForm(name)
name - The name of the ProcessForm
void recordChanged(node, fname)
node - an HTMLElement object node is located in the Process Record to set its status
fname - The name of the Process Field which is modified
void selectOption(node)
node - The DOM Node of the OptionBox
Object submitOnEnter(e,frm,cmd,target)
e - The Event object
frm - HTML form or any other DOM element that resides in the ProcessForm to be submitted
cmd - The name of the process command that triggers the submission
target - The target frame. This parameter is optional. This method call must be made from within the "onkeypress" event of a form or other container object typically as follows
onkeypress="return PMgr.submitOnEnter(event,this,'Update');"
boolean submitProcessForm(formName, commandName, target)
formName - The name of the ProcessForm
commandName - The name of the ProcessCommand
target - The target frame. This parameter is optional.
true if form is submitted, false if submission is canceled because of a validation error.
|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||