Class Index | File Index

Classes


Class Alfresco.CustomisePages

Extends Alfresco.component.Base
CustomisePages component.
Defined in: customise-pages.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Alfresco.CustomisePages 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
 
onAvailableDragAndDropAction(action, draggable, container)
Called when a dnd action has occured in the current pages lists.
 
Fired when the user clicks cancel layout button.
 
onCurrentDragAndDropAction(action, draggable, container)
Called when a dnd action has occured in the current pages lists.
 
onPageRenamed(sitePageTitle, elements)
Called when the page's name has been changed in the dialog
 
Fired by YUILoaderHelper when required component script files have
 
onRemoveClick(pageId, anchor)
Called when a current page's remove anchor has been clicked
 
onRenameClick(pageId, anchor)
Called when a current page's rename anchor has been clicked
 
Fired when the user clicks the Save/Done button.
 
Resets the site specific page info and moves the page to available pages
 
moves the page to available pages
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.CustomisePages(htmlId)
Alfresco.CustomisePages constructor.
Parameters:
{string} htmlId
The HTML id of the parent element
Returns:
{Alfresco.CustomisePages} The new CustomisePages instance
Field Detail
{object} options
Object container for initialization options
Method Detail
onAvailableDragAndDropAction(action, draggable, container)
Called when a dnd action has occured in the current pages lists.
Parameters:
action
draggable
container

onCancelButtonClick(event)
Fired when the user clicks cancel layout button.
Takes the user to the sites dashboard
Parameters:
{object} event
an "click" event

onCurrentDragAndDropAction(action, draggable, container)
Called when a dnd action has occured in the current pages lists.
Parameters:
action
draggable
container

onPageRenamed(sitePageTitle, elements)
Called when the page's name has been changed in the dialog
Parameters:
sitePageTitle
elements

onReady()
Fired by YUILoaderHelper when required component script files have
been loaded into the browser.

onRemoveClick(pageId, anchor)
Called when a current page's remove anchor has been clicked
Parameters:
pageId
anchor

onRenameClick(pageId, anchor)
Called when a current page's rename anchor has been clicked
Parameters:
pageId
anchor

onSaveButtonClick(event)
Fired when the user clicks the Save/Done button.
Saves the dashboard config and takes the user back to the dashboard page.
Parameters:
{object} event
a "click" event

removeCurrentPage(li)
Resets the site specific page info and moves the page to available pages
Parameters:
li

resetPage(li)
moves the page to available pages
Parameters:
li

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