Class Index | File Index

Classes


Class Alfresco.ContentControl

Extends Alfresco.RichTextControl
Content control component.

This component renders an editor appropriate for the the mimetype
of the content.

Plain text content is rendered in a textarea.
Rich text content is rendered in a TinyMCE editor.
Images are displayed with a file upload control.
Defined in: content.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
ContentControl constructor.
Field Summary
Field Attributes Field Name and Description
 
Object container for initialization options
Fields borrowed from class Alfresco.RichTextControl:
editor
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.
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.ContentControl(htmlId)
ContentControl constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.TextControl} The new ContentControl instance
Field Detail
{object} options
Object container for initialization options
Method Detail
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:24 GMT-0000 (GMT)