Class Index | File Index

Classes


Class Alfresco.UserNotifications

Extends Alfresco.component.Base
User Notifications component.
Constructor Summary
Constructor Attributes Constructor Name and Description
 
UserNotifications constructor.
Fields borrowed from class Alfresco.component.Base:
modules, options, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Perform URL navigation back to user profile main page
 
onCancel(e, p_obj)
Cancel Changes button click handler
 
Fired by YUI when parent element is available for scripting.
 
onSuccess(response)
Save Changes form submit success handler
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.UserNotifications(htmlId)
UserNotifications constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.UserNotifications} The new UserNotifications instance
Method Detail
navigateToProfile()
Perform URL navigation back to user profile main page

onCancel(e, p_obj)
Cancel Changes button click handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

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

onSuccess(response)
Save Changes form submit success handler
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)