Class Index | File Index

Classes


Class Alfresco.TagFilter

Extends Alfresco.component.BaseFilter
Tag Filter component.
Defined in: tag-filter.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Tag Filter constructor.
Field Summary
Field Attributes Field Name and Description
 
Object container for initialization options
Fields borrowed from class Alfresco.component.BaseFilter:
controlsDeactivated, filterName, selectedFilter, uniqueEventKey
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Called if this filter is the owner, but the filterId could be found in the DOM
 
Fired by YUI when parent element is available for scripting.
 
onTagRefresh(layer, args)
Function that gets called when another component fires "tagRefresh"
 
Event handler for when the tag data fails to load.
 
Event handler for when the tag data loads successfully.
Methods borrowed from class Alfresco.component.BaseFilter:
onDeactivateAllControls, onFilterChanged, setFilterIds
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.TagFilter(htmlId)
Tag Filter constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.TagFilter} The new TagFilter instance
Field Detail
{object} options
Object container for initialization options
Method Detail
handleFilterIdNotFound(filter)
Called if this filter is the owner, but the filterId could be found in the DOM
Parameters:
{object} filter
New filter trying to be set

onReady()
Fired by YUI when parent element is available for scripting.

onTagRefresh(layer, args)
Function that gets called when another component fires "tagRefresh"
Issues a request to retrieve the latest tag data.
Parameters:
{string} layer
the event source
{object} args
arguments object

onTagRefresh_failure(response)
Event handler for when the tag data fails to load.
Parameters:
{object} response
Server response object

onTagRefresh_success(response)
Event handler for when the tag data loads successfully.
Parameters:
{object} response
Server response object

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