|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MoreMotionObject
|
+--ProcessForm
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.
| 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 |
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
|
| Field Detail |
boolean isProcessForm
Object props
| formConfigName | The configuration name of the form. If it is not specified then the name of this object is used as the configuration name. |
| Constructor Detail |
ProcessForm(node)
| Method Detail |
void base(node)
node - the DOM Element node that is wrapped by this object
void clear()
void disableCommandButtons()
void disableForm(duration)
duration - The duration in milliseconds that the form will be disabled. If this parameter is defined the form will be ready again for submit after the duration ends. If it is ignored then the form stays disabled as long as it is enabled explicitly with enableForm() method.
void enableCommandButtons()
void enableForm()
ProcessBlock getBlock(name)
name - The name of the Process Block
ProcessCommand getCommand(name)
name - The name of the Process Command
Boolean isDisabled()
true if this form is disabled for submit, false otherwisevoid reset()
void resetAction()
void setAction(action)
Object submit(commandName, target, disableDuration)
commandName - The name of the Process Command
target - The value for the form.target attribute to set before submit.
disableDuration - The duration in milliseconds that this form will be in disabled state. If this optional parameter is omitted then the form will be disabled until it's state is changed explicitly with enableForm() method.
Object validate(commandName)
commandName - The name of the Process Command
|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||