Class Index | File Index

Classes


Class Alfresco.component.TaskEditHeader

Extends Alfresco.component.ShareFormManager
TaskEditHeader component.
Constructor Summary
Constructor Attributes Constructor Name and Description
 
TaskEditHeader constructor.
Field Summary
Field Attributes Field Name and Description
 
Keeps track if this component is running an action or not
 
The task instance id
Fields borrowed from class Alfresco.component.FormManager:
options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
onClaimButtonClick(layer, args)
Event handler called when the "claim" button is clicked
 
Called when the people finder template has been loaded.
 
Called when the user has selected an assigne from the people finder.
 
Fired by YUI when parent element is available for scripting.
 
onReassignButtonClick(layer, args)
Event handler called when the "reassign" button is clicked
 
onReleaseButtonClick(layer, args)
Event handler called when the "release" button is clicked
 
onTaskDetailedData(layer, args)
Event handler called when the "taskDetailedData" event is received
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.TaskEditHeader(htmlId)
TaskEditHeader constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.component.TaskEditHeader} The new TaskEditHeader instance
Field Detail
{Boolean} isRunning
Keeps track if this component is running an action or not

{String} taskId
The task instance id
Method Detail
onClaimButtonClick(layer, args)
Event handler called when the "claim" button is clicked
Parameters:
layer
args

onPeopleFinderLoaded(response)
Called when the people finder template has been loaded.
Creates a dialog and inserts the people finder for choosing assignees.
Parameters:
response
The server response

onPersonSelected(e, args)
Called when the user has selected an assigne from the people finder.
Parameters:
e
DomEvent
args
Event parameters (depends on event type)

onReady()
Fired by YUI when parent element is available for scripting.
Template initialisation, including instantiation of YUI widgets and event listener binding.

onReassignButtonClick(layer, args)
Event handler called when the "reassign" button is clicked
Parameters:
layer
args

onReleaseButtonClick(layer, args)
Event handler called when the "release" button is clicked
Parameters:
layer
args

onTaskDetailedData(layer, args)
Event handler called when the "taskDetailedData" event is received
Parameters:
layer
args

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