Class Index | File Index

Classes


Class Alfresco.component.ShareFormManager

Extends Alfresco.component.FormManager
ShareFormManager component.

Determines those pages defined as "AJAX state pages" and thus able to restore previous
state from URL arguments.
Defined in: share.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
ShareFormManager constructor.
Fields borrowed from class Alfresco.component.FormManager:
options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Override this method to make the user visit this url if no preferred url was given for a form and
 
Share pages that use ajax state ("#").
Methods borrowed from class Alfresco.component.FormManager:
navigateForward, onBeforeFormRuntimeInit, onCancelButtonClick, onFormContentReady, onFormSubmitFailure, onFormSubmitSuccess, onReady
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.component.ShareFormManager(el)
ShareFormManager constructor.
Parameters:
{String} el
The HTML id of the parent element
Returns:
{Alfresco.component.ShareFormManager} The new ShareFormManager instance
Method Detail
{string} getSiteDefaultUrl()
Override this method to make the user visit this url if no preferred url was given for a form and
there was no page visited before the user came to the form page.
Returns:
{string} The url to make the user visit if no other alternatives have been found

{boolean} pageUsesAjaxState(url)
Share pages that use ajax state ("#").
Parameters:
url
Returns:
{boolean} True if the url is recognised as a page that uses ajax states (adds values after "#" on the url)

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