Class Index | File Index

Classes


Class Alfresco.RuleEdit

Extends Alfresco.component.Base
RuleEdit component.
Defined in: rule-edit.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
RuleEdit 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
 
Display the rule
 
onCancelButtonClick(type, args)
Called when user clicks the cancel button.
 
 
Fired by YUI when parent element is available for scripting.
 
Called then the rule config components have been loaded and inserted to the Dom and are looking visually ok.
 
Called then the rule config components have been loaded, inserted and are ready to dispaly rule configs
 
onRuleCreated(response)
 
onRuleUpdated(response)
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.RuleEdit(htmlId)
RuleEdit constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.RuleEdit} The new RuleEdit instance
Field Detail
{object} options
Object container for initialization options
Method Detail
displayRule(rule)
Display the rule
Parameters:
{object} rule
An object describing the rule

onCancelButtonClick(type, args)
Called when user clicks the cancel button.
Takes the user to the folder rules page.
Parameters:
type
args

onPersistRuleFailed(response)
Parameters:
response

onReady()
Fired by YUI when parent element is available for scripting.
Template initialisation, including instantiation of YUI widgets and event listener binding.

onRuleConfigsLoaded()
Called then the rule config components have been loaded and inserted to the Dom and are looking visually ok.
However they are not ready to use yet since they will need to load their own dependencies.

onRuleConfigsReady()
Called then the rule config components have been loaded, inserted and are ready to dispaly rule configs

onRuleCreated(response)
Parameters:
response

onRuleUpdated(response)
Parameters:
response

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