Class Index | File Index

Classes


Class Alfresco.component.StartWorkflow

Extends Alfresco.component.ShareFormManager
StartWorkflow component.
Defined in: start-workflow.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
StartWorkflow constructor.
Field Summary
Field Attributes Field Name and Description
 
Object container for initialization options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
onObjectFinderReady(layer, args)
Will populate the form packageItem's objectFinder with selectedItems when its ready
 
Fired by YUI when parent element is available for scripting.
 
Event handler called when the "formContentReady" event is received
 
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.

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.
Parameters:
{Object} response

onWorkflowSelectChange(p_sType, p_aArgs)
Called when a workflow definition has been selected
Parameters:
p_sType
p_aArgs

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:24 GMT-0000 (GMT)