Class Index | File Index

Classes


Class Alfresco.UserProfile

Extends Alfresco.component.Base
User Profile component.
Defined in: profile.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
UserProfile constructor.
Field Summary
Field Attributes Field Name and Description
 
FileUpload module instance.
 
Object container for initialization options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
onCancel(e, p_obj)
Cancel Changes button click handler
 
onClearPhoto(e, p_obj)
Clear photo button click handler
 
onEditProfile(e, p_obj)
Edit Profile button click handler
 
File Upload complete event handler
 
Fired by YUI when parent element is available for scripting.
 
onSuccess(response)
Save Changes form submit success handler
 
onUpload(e, p_obj)
Upload button click handler
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.UserProfile(htmlId)
UserProfile constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.UserProfile} The new UserProfile instance
Field Detail
{Alfresco.module.FileUpload} fileUpload
FileUpload module instance.

{object} options
Object container for initialization options
Method Detail
onCancel(e, p_obj)
Cancel Changes button click handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

onClearPhoto(e, p_obj)
Clear photo button click handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

onEditProfile(e, p_obj)
Edit Profile button click handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

onFileUploadComplete(complete)
File Upload complete event handler
Parameters:
{object} complete
Object literal containing details of successful and failed uploads

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

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

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