Class Alfresco.TagFilter
Extends Alfresco.component.BaseFilter
Tag Filter component.
Defined in: tag-filter.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.TagFilter(htmlId)
Tag Filter constructor.
|
| 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 Attributes | Method Name and Description |
|---|---|
|
handleFilterIdNotFound(filter)
Called if this filter is the owner, but the filterId could be found in the DOM
|
|
|
onReady()
Fired by YUI when parent element is available for scripting.
|
|
|
onTagRefresh(layer, args)
Function that gets called when another component fires "tagRefresh"
|
|
|
onTagRefresh_failure(response)
Event handler for when the tag data fails to load.
|
|
|
onTagRefresh_success(response)
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.
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