Class Index | File Index

Classes


Class Alfresco.LinkEdit

Extends Alfresco.component.Base
LinkEdit component.

Component provides link creation/edit functionality.
Defined in: linkedit.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
LinkEdit constructor.
Field Summary
Field Attributes Field Name and Description
 
Stores the data of the currently edited link
 
Object container for initialization options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Cancel button click handler
 
Reenables the inputs which got disabled as part of a comment submit
 
Form submit success handler
 
Fired by YUI when parent element is available for scripting.
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.LinkEdit(htmlId)
LinkEdit constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.LinkEdit} The new Link instance
Field Detail
linkData
Stores the data of the currently edited link

{object} options
Object container for initialization options
Method Detail
onFormCancelButtonClick(type, args)
Cancel button click handler
Parameters:
type
args

onFormSubmitFailure(response)
Reenables the inputs which got disabled as part of a comment submit
Parameters:
response

onFormSubmitSuccess(response)
Form submit success handler
Parameters:
response

onReady()
Fired by YUI when parent element is available for scripting.
Component initialisation, including instantiation of YUI widgets and event listener binding.

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