Class Index | File Index

Classes


Class Alfresco.WikiPage

Extends Alfresco.component.Base
Defined in: page.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
WikiPage constructor.
Field Summary
Field Attributes Field Name and Description
 
Flag to indicate the user is forcing a save (newer version overwrite)
 
Object container for initialization options
 
An instance of a Wiki parser for this page.
 
Saving page dialog popup
 
Currently selected tags.
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
 
 
Fired by YUI when parent element is available for scripting.
 
Fired by the Revert Version component after a successful revert.
 
Called when tag library tags have been updated
 
onVersionInfo(event, obj)
Called when the content for a new version has been loaded
 
onVersionSelectChange(sType, aArgs, p_obj)
Called when the user selects a version in the version list
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.WikiPage(htmlId)
WikiPage constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.WikiPage} The new Wiki instance
Field Detail
{bool} forceSave
Flag to indicate the user is forcing a save (newer version overwrite)
Default Value:
false

{object} options
Object container for initialization options

{Alfresco.WikiParser} parser
An instance of a Wiki parser for this page.

{object} savingPagePopup
Saving page dialog popup
Default Value:
null

{array} selectedTags
Currently selected tags.
Method Detail
onCancelSelect(e)
Parameters:
e

onPageUpdated(e)
Parameters:
e

onReady()
Fired by YUI when parent element is available for scripting.
Initialises components, including YUI widgets.

onRevertWikiVersionComplete()
Fired by the Revert Version component after a successful revert.

onTagLibraryTagsChanged(layer, args)
Called when tag library tags have been updated
Parameters:
{object} layer
Event fired
{array} args
Event parameters (depends on event type)

onVersionInfo(event, obj)
Called when the content for a new version has been loaded
(because of a user click in the version select menu).
Parameters:
{object} event
event from Alfresco.ajax.request
{object} obj
contians the index of the selected version in the versions array

onVersionSelectChange(sType, aArgs, p_obj)
Called when the user selects a version in the version list
Parameters:
{string} sType
Event type, e.g. "click"
{array} aArgs
Arguments array, [0] = DomEvent, [1] = EventTarget
{object} p_obj
Object passed back from subscribe method

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