Class Index | File Index

Classes


Class Alfresco.TagComponent

Extends Alfresco.component.Base
Alfresco.TagComponent
Defined in: tags.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
TagComponent 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
 
Fired by YUI when parent element is available for scripting.
 
Handler for the "tagRefresh" event
 
onTagSelected(layer, args)
Event handler for tagSelected event
 
Event handler that gets called when the tag data
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.TagComponent(htmlId)
TagComponent constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.TagComponent} The new TagComponent instance
Field Detail
{object} options
Object container for initialization options
Method Detail
onReady()
Fired by YUI when parent element is available for scripting.
Registers event handler on "tagRefresh" event. If a component wants to refresh
the tags component, they need to fire this event.

onTagRefresh(e)
Handler for the "tagRefresh" event
Issues a request to the repo to retrieve the latest tag data.
Parameters:
{object} e
DomEvent

onTagSelected(layer, args)
Event handler for tagSelected event
Parameters:
layer
args

onTagsLoaded(e)
Event handler that gets called when the tag data
loads successfully.
Parameters:
{object} e
DomEvent

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