Class Index | File Index

Classes


Class Alfresco.module.ControlWrapper

Extends Alfresco.component.Base
ControlWrapper component.
Defined in: control-wrapper.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
ControlWrapper 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
 
onFormValueChanged(layer, args)
Form value changed event handler
 
onTemplateLoaded(response, fnCallback)
Event callback when this component has been reloaded via AJAX call
 
render(fnCallback)
Render method. Prompts loading of Forms control via wrapper.
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.module.ControlWrapper(htmlId)
ControlWrapper constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.ControlWrapper} The new ControlWrapper instance
Field Detail
{object} options
Object container for initialization options
Method Detail
onFormValueChanged(layer, args)
Form value changed event handler
Parameters:
layer
args

onTemplateLoaded(response, fnCallback)
Event callback when this component has been reloaded via AJAX call
Parameters:
{object} response
Server response from load template XHR request
fnCallback

render(fnCallback)
Render method. Prompts loading of Forms control via wrapper.
Parameters:
{object} fnCallback
Callback for successful request, should have the following form: {fn: fnHandler, scope: functionScope, obj: optionalParam}

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