Class Index | File Index

Classes


Class Alfresco.module.DoclibSiteFolder

Extends Alfresco.component.Base
Document Library "Site Folder" picker module for Document Library.
Defined in: site-folder.js
Field Summary
Field Attributes Field Name and Description
 
Container element for template in DOM.
 
Object container for initialization options
 
Paths we have to expand as a result of a deep navigation event.
 
Selected tree node.
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
fnLoadNodeData(node, fnLoadComplete)
Dynamically loads TreeView nodes.
 
onCancel(e, p_obj)
Dialog Cancel button event handler
 
Fired by YUI TreeView when a node has finished expanding
 
Fired by YUI TreeView when a node label is clicked
 
onOK(e, p_obj)
Dialog OK button event handler
 
Update tree when the path has changed
 
onTemplateLoaded(response)
Event callback when dialog template has been loaded
 
Main entry point
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Field Detail
{DOMElement} containerDiv
Container element for template in DOM.

options
Object container for initialization options

{array} pathsToExpand
Paths we have to expand as a result of a deep navigation event.

selectedNode
Selected tree node.
Method Detail
fnLoadNodeData(node, fnLoadComplete)
Dynamically loads TreeView nodes.
This MUST be inline in order to have access to the parent class.
Parameters:
{object} node
Parent node
{function} fnLoadComplete
Expanding node's callback function

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

onExpandComplete(oNode)
Fired by YUI TreeView when a node has finished expanding
Parameters:
oNode
{YAHOO.widget.Node} the node recently expanded

onNodeClicked()
Fired by YUI TreeView when a node label is clicked
Parameters:
args.event
{HTML Event} the event object
args.node
{YAHOO.widget.Node} the node clicked
Returns:
allowExpand {boolean} allow or disallow node expansion

onOK(e, p_obj)
Dialog OK button event handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

onPathChanged(path)
Update tree when the path has changed
Parameters:
{string} path
new path

onTemplateLoaded(response)
Event callback when dialog template has been loaded
Parameters:
{object} response
Server response from load template XHR request

showDialog()
Main entry point

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