Class Index | File Index

Classes


Class Alfresco.AdvancedSearch

Extends Alfresco.component.Base
Advanced Search component.
Defined in: advsearch.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Advanced Search constructor.
Field Summary
Field Attributes Field Name and Description
 
Currently visible Search Form object
 
Object container for initialization options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Event handler called when the "beforeFormRuntimeInit" event is received
 
Fired by YUI when parent element is available for scripting.
 
onSearchClick(e, obj)
Event handler that gets fired when user clicks the Search button.
 
renderFormTemplate(form, repopulate)
Loads or retrieves from cache the Form template for a given content type
 
Repopulate currently displayed Form fields based on saved query data
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.AdvancedSearch(htmlId)
Advanced Search constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.AdvancedSearch} The new AdvancedSearch instance
Field Detail
currentForm
Currently visible Search Form object

{object} options
Object container for initialization options
Method Detail
onBeforeFormRuntimeInit(layer, args)
Event handler called when the "beforeFormRuntimeInit" event is received
Parameters:
layer
args

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

onSearchClick(e, obj)
Event handler that gets fired when user clicks the Search button.
Parameters:
{object} e
DomEvent
{object} obj
Object passed back from addListener method

renderFormTemplate(form, repopulate)
Loads or retrieves from cache the Form template for a given content type
Parameters:
{Object} form
Form descriptor to render template for
{boolean} repopulate
If true, repopulate form instance based on supplied data

repopulateCurrentForm()
Repopulate currently displayed Form fields based on saved query data

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