Class Alfresco.InlineEditMgr
Extends Alfresco.component.Base
InlineEditMgr template.
Defined in: inline-edit-mgr.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.InlineEditMgr(htmlId)
InlineEditMgr constructor.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Object container for initialization options
|
- Fields borrowed from class Alfresco.component.Base:
- modules, services, widgets
| Method Attributes | Method Name and Description |
|---|---|
|
onBeforeFormRuntimeInit(layer, args)
Event handler called when the "beforeFormRuntimeInit" event is received
|
|
|
onCancelButtonClick(type, args)
Called when user clicks on the cancel button.
|
|
|
onFormContentReady(layer, args)
Event handler called when the "formContentReady" event is received
|
|
|
onInlineEditFailure(response)
Handler called when the metadata update operation failed
|
|
|
onInlineEditSuccess(response)
Handler called when the metadata was updated successfully
|
- Methods borrowed from class Alfresco.component.Base:
- attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.InlineEditMgr(htmlId)
InlineEditMgr constructor.
- Parameters:
- {String} htmlId
- The HTML id of the parent element
- Returns:
- {Alfresco.InlineEditMgr} The new InlineEditMgr instance
Field Detail
{object}
options
Object container for initialization options
Method Detail
onBeforeFormRuntimeInit(layer, args)
Event handler called when the "beforeFormRuntimeInit" event is received
- Parameters:
- layer
- args
onCancelButtonClick(type, args)
Called when user clicks on the cancel button.
- Parameters:
- type
- args
onFormContentReady(layer, args)
Event handler called when the "formContentReady" event is received
- Parameters:
- layer
- args
onInlineEditFailure(response)
Handler called when the metadata update operation failed
- Parameters:
- response
- The response from the submission
onInlineEditSuccess(response)
Handler called when the metadata was updated successfully
- Parameters:
- response
- The response from the submission