Class Alfresco.component.StartWorkflow
StartWorkflow component.
Defined in: start-workflow.js
Constructor Attributes | Constructor Name and Description |
---|---|
Alfresco.component.StartWorkflow(htmlId)
StartWorkflow constructor.
|
Field Attributes | Field Name and Description |
---|---|
Object container for initialization options
|
- Fields borrowed from class Alfresco.component.Base:
- modules, services, widgets
Method Attributes | Method Name and Description |
---|---|
onObjectFinderReady(layer, args)
Will populate the form packageItem's objectFinder with selectedItems when its ready
|
|
onReady()
Fired by YUI when parent element is available for scripting.
|
|
onStartWorkflowFormContentReady(layer, args)
Event handler called when the "formContentReady" event is received
|
|
onWorkflowFormLoaded(response)
Called when a workflow form has been loaded.
|
|
onWorkflowSelectChange(p_sType, p_aArgs)
Called when a workflow definition has been selected
|
- Methods borrowed from class Alfresco.component.ShareFormManager:
- getSiteDefaultUrl, pageUsesAjaxState
- Methods borrowed from class Alfresco.component.FormManager:
- navigateForward, onBeforeFormRuntimeInit, onCancelButtonClick, onFormContentReady, onFormSubmitFailure, onFormSubmitSuccess
- Methods borrowed from class Alfresco.component.Base:
- attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.component.StartWorkflow(htmlId)
StartWorkflow constructor.
- Parameters:
- {String} htmlId
- The HTML id of the parent element
- Returns:
- {Alfresco.component.StartWorkflow} The new StartWorkflow instance
Field Detail
{object}
options
Object container for initialization options
Method Detail
onObjectFinderReady(layer, args)
Will populate the form packageItem's objectFinder with selectedItems when its ready
- Parameters:
- {object} layer
- Event fired (unused)
- {array} args
- Event parameters
onReady()
Fired by YUI when parent element is available for scripting.
Template initialisation, including instantiation of YUI widgets and event listener binding.
Template initialisation, including instantiation of YUI widgets and event listener binding.
onStartWorkflowFormContentReady(layer, args)
Event handler called when the "formContentReady" event is received
- Parameters:
- layer
- args
onWorkflowFormLoaded(response)
Called when a workflow form has been loaded.
Will insert the form in the Dom.
Will insert the form in the Dom.
- Parameters:
- {Object} response
onWorkflowSelectChange(p_sType, p_aArgs)
Called when a workflow definition has been selected
- Parameters:
- p_sType
- p_aArgs