Class Alfresco.LinkEdit
Extends Alfresco.component.Base
LinkEdit component.
Component provides link creation/edit functionality.
Component provides link creation/edit functionality.
Defined in: linkedit.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.LinkEdit(htmlId)
LinkEdit constructor.
|
| 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 Attributes | Method Name and Description |
|---|---|
|
onFormCancelButtonClick(type, args)
Cancel button click handler
|
|
|
onFormSubmitFailure(response)
Reenables the inputs which got disabled as part of a comment submit
|
|
|
onFormSubmitSuccess(response)
Form submit success handler
|
|
|
onReady()
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.
Component initialisation, including instantiation of YUI widgets and event listener binding.