Class Index | File Index

Classes


Class Alfresco.widget.InsituEditor.tagEditor

Extends Alfresco.widget.InsituEditor.base
Defined in: alfresco.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Alfresco.widget.InsituEditor.tagEditor constructor.
Field Summary
Field Attributes Field Name and Description
 
Balloon UI instance used for error reporting
 
Save context elements style CSS property so it can be restored correctly
 
A span element that contains a span element for each tag already
 
A hidden input element that contains the only data used by the form when submitted.
 
Key Listener for [Escape] to cancel
 
Flag tracking whether markup has been generated
 
An input element used for typing in new tags. Also used as part of a YUI auto-complete
 
Flag to prevent setting focus on the input text box
 
The YUI auto-complete widget used for entering new tags.
 
A list of the tag node references. This is the data that will be submitted
Fields borrowed from class Alfresco.widget.InsituEditor.base:
editForm, elEditForm, form, params
Method Summary
Method Attributes Method Name and Description
 
doHide(restoreUI)
Hide the editor
 
Show the editor
 
onPersistFailure(response)
Failure property persistence handler
 
onPersistSuccess(response)
Successful property persistence handler
Constructor Detail
Alfresco.widget.InsituEditor.tagEditor(p_params)
Alfresco.widget.InsituEditor.tagEditor constructor.
Parameters:
{Object} p_params
Instance configuration parameters
Returns:
{Alfresco.widget.InsituEditor.tagEditor} The new tagEditor instance
Field Detail
{object} balloon
Balloon UI instance used for error reporting

{string} contextStyle
Save context elements style CSS property so it can be restored correctly

{HTMLElement} currentTags
A span element that contains a span element for each tag already
applied to the document.

{HTMLElement} hiddenInput
A hidden input element that contains the only data used by the form when submitted.
The value is updated from the contents of the tagRefs property.

{YAHOO.util.KeyListener} keyListener
Key Listener for [Escape] to cancel

{boolean} markupGenerated
Flag tracking whether markup has been generated

{HTMLElement} newTagInput
An input element used for typing in new tags. Also used as part of a YUI auto-complete
widget to allow selection from previously created tags.

{boolean} suppressInputBoxFocus
Flag to prevent setting focus on the input text box

{YAHOO.widget.AutoComplete} tagAutoComplete
The YUI auto-complete widget used for entering new tags.

{array} tagRefs
A list of the tag node references. This is the data that will be submitted
when the Insitu Editor is saved.
Method Detail
doHide(restoreUI)
Hide the editor
Parameters:
{boolean} restoreUI
Whether to restore the UI or rely on the caller to do it

doShow()
Show the editor

onPersistFailure(response)
Failure property persistence handler
Parameters:
{Object} response
Server response object literal

onPersistSuccess(response)
Successful property persistence handler
Parameters:
{Object} response
Server response object literal

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