Class Alfresco.CustomisePages
Extends Alfresco.component.Base
CustomisePages component.
Defined in: customise-pages.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.CustomisePages(htmlId)
Alfresco.CustomisePages 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 |
|---|---|
|
onAvailableDragAndDropAction(action, draggable, container)
Called when a dnd action has occured in the current pages lists.
|
|
|
onCancelButtonClick(event)
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
|
|
|
onReady()
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
|
|
|
onSaveButtonClick(event)
Fired when the user clicks the Save/Done button.
|
|
|
Resets the site specific page info and moves the page to available pages
|
|
|
resetPage(li)
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
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.
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.
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