Class Alfresco.RulesNone
Extends Alfresco.component.Base
RulesNone component.
When a folder has no rules this component lets the user create new rules
or link the folder to another folders rule set.
When a folder has no rules this component lets the user create new rules
or link the folder to another folders rule set.
Defined in: rules-none.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.RulesNone(htmlId)
FolderPath constructor.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Object container for initialization options
|
- Fields borrowed from class Alfresco.component.Base:
- modules, services, widgets
| Method Attributes | Method Name and Description |
|---|---|
|
onFolderRulesetDetailsAvailable(layer, args)
Event handler called when the "folderRulesetDetailsAvailable" event is received
|
|
|
onLinkToRuleSetClick(event, obj)
Called when user clicks on the link to rules set link.
|
|
|
onReady()
Fired by YUI when parent element is available for scripting.
|
- Methods borrowed from class Alfresco.component.Base:
- attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.RulesNone(htmlId)
FolderPath constructor.
- Parameters:
- {String} htmlId
- The HTML id of the parent element
- Returns:
- {Alfresco.RulesNone} The new FolderPath instance
Field Detail
{object}
options
Object container for initialization options
Method Detail
onFolderRulesetDetailsAvailable(layer, args)
Event handler called when the "folderRulesetDetailsAvailable" event is received
- Parameters:
- layer
- args
onLinkToRuleSetClick(event, obj)
Called when user clicks on the link to rules set link.
- Parameters:
- event
- obj
onReady()
Fired by YUI when parent element is available for scripting.
Component initialisation, including instantiation of YUI widgets and event listener binding.
Component initialisation, including instantiation of YUI widgets and event listener binding.