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
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
|
isProcessForm
boolean isProcessForm
props
Object props
ProcessForm Properties Object.
formConfigName | The configuration name of the form.
If it is not specified then the name of this object is used as the configuration name. |
ProcessForm
ProcessForm(node)
base
void base(node)
Parameters:
node
- the DOM Element node that is wrapped by this object
clear
void clear()
Clears all the ProcessBlock objects existing in this Process Form
createHidden
Object createHidden(name)
Creates a hidden input element with the given name.
Parameters:
name
- The name of the hidden element.
disableCommandButtons
void disableCommandButtons()
Disables all the command buttons existing in this Process Form
enableCommandButtons
void enableCommandButtons()
Enables all the command buttons existing in this Process Form
getBlock
ProcessBlock getBlock(name)
Returns the Process Block associated with the specified name.
Parameters:
name
- The name of the Process Block
getCommand
ProcessCommand getCommand(name)
Returns the Process Command associated with the specified name
Parameters:
name
- The name of the Process Command
Returns:
The Process Command associated with the name
reset
void reset()
Resets all the HTML Input fields existing in this Process Form and removes the modified statuses
of all the ProcessRecord objects.
resetAction
void resetAction()
setAction
void setAction(action)
submit
Object submit(commandName, targetParam)
Submits this Process Form with the specified command.
Parameters:
commandName
- The name of the Process Command
targetParam
- The value for the form.target attribute to set before submit.
validate
Object validate(commandName)
Validates this Process Form according to the given command name
Parameters:
commandName
- The name of the Process Command
Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by
JSDoc on Mon Sep 29 14:52:55 2008