Class Index | File Index

Classes


Class Alfresco.CreateTopic

CreateTopic component.
Logic for a topic creation form.
Defined in: createtopic.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
CreateTopic constructor.
Field Summary
Field Attributes Field Name and Description
 
Stores the data of the currently edited blog post
 
Object container for storing module instances.
 
Object container for initialization options
 
Object container for storing YUI widget instances.
Method Summary
Method Attributes Method Name and Description
 
Fired by YUILoaderHelper when required component script files have
 
Form cancel button click handler
 
Reenables the inputs which got disabled as part of a comment submit
 
onFormSubmitSuccess(response, object)
Form submit success handler
 
Fired by YUI when parent element is available for scripting.
 
Set multiple initialization options at once.
 
Set multiple initialization options at once.
Constructor Detail
Alfresco.CreateTopic(htmlId)
CreateTopic constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.CreateTopic} The new Topic instance
Field Detail
{object} discussionsTopicData
Stores the data of the currently edited blog post

{object} modules
Object container for storing module instances.

{object} options
Object container for initialization options

{object} widgets
Object container for storing YUI widget instances.
Method Detail
onComponentsLoaded()
Fired by YUILoaderHelper when required component script files have
been loaded into the browser.

onFormCancelButtonClick(type, args)
Form cancel button click handler
Parameters:
type
args

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

onFormSubmitSuccess(response, object)
Form submit success handler
Parameters:
response
object

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

setMessages(obj)
Set multiple initialization options at once.
Parameters:
{object} obj
Object literal specifying a set of options

setOptions(obj)
Set multiple initialization options at once.
Parameters:
{object} obj
Object literal specifying a set of options

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