Class ecm.widget.process.StepPatternLayout


Extends ecm.widget.process.StepProcessorLayout.
Provides the basic layout for step processors.
Defined in: <ecm\widget\process\StepPatternLayout.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
Checks work item to determine if the history pane should be rendered.
 
isValid(focus, onEditStatus, onSaveStatus, response)
Checks the work item properties pane properties list for having valid values.
 
An event function that is called when the processor layout has completed rendering.
 
onOk(dispatch, callback)
Saves the modified processor information and if requested, will dispatch the work item.
 
Updates the widgets with the current work item property information for rendering.
Methods borrowed from class ecm.widget.process.StepProcessorLayout:
addProcessButtons, createAttachmentsPane, createHistoryPane, createWorkItem, destroy, onCancel, onMovetoInbox, onProcessButtonsCreated, onReassign, onReturn, onSave, postCreate, resizeIt

Constructor Detail

ecm.widget.process.StepPatternLayout()

Since:
2.0.2

Method Detail

{Boolean} canRenderHistoryPane()

Checks work item to determine if the history pane should be rendered.
Since:
2.0.3
Returns:
{Boolean} A value of true if the history pane can be rendered, false otherwise.

{Boolean} isValid(focus, onEditStatus, onSaveStatus, response)

Checks the work item properties pane properties list for having valid values.
Parameters:
focus
onEditStatus
onSaveStatus
response
Since:
2.0.3.8 A boolean value indicating if the error field (if any) should be set as focus., 2.0.3.8 A boolean value indicating if we are editing the properties., 2.0.3.8 A boolean value indicating if we are saving the properties., 2.0.3.8 Contains the response when this validation is taking place as part of executing a workflow response.
Returns:
{Boolean} A value of true if the property values are valid, false otherwise.

onCompleteRendering()

An event function that is called when the processor layout has completed rendering.

onOk(dispatch, callback)

Saves the modified processor information and if requested, will dispatch the work item.
Parameters:
dispatch
A boolean value indicating whether to dispatch the item after saving it's values.
callback
A callback function that is called after the item information has been saved.

updateView()

Updates the widgets with the current work item property information for rendering.