Class ecm.widget.search.SearchSelectorDialog


Extends ecm.widget.dialog.BaseDialog.
Provides a dialog box that is used to select search templates.
Defined in: <ecm\widget\search\SearchSelectorDialog.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
A callback function that's called after a selection is made
 
A ecm.model.Repository object of the searches to be selected
 
 
A boolean flag to enable a button to launch ecm.model.SearchBuilder widget and a text box to filter searches
Fields borrowed from class ecm.widget.dialog.BaseDialog:
expandable, fitContentArea, lockFullscreen

Method Summary

Method Attributes Method Name and Description
 
setRepository(repository)
Sets the repository used to populate the search list.
 
show(callback)
Calls super.show() function.
Methods borrowed from class ecm.widget.dialog.BaseDialog:
addButton, appendSecondaryMessage, buildRendering, clearMessage, clearSecondaryMessage, destroy, hide, isMaximized, onDragOver, postCreate, resize, setExpandable, setIntroText, setIntroTextRef, setMaximized, setMessage, setReferenceLink, setResizable, setSize, setSizeToViewportRatio, setTitle, setWidth, showActionBar

Constructor Detail

ecm.widget.search.SearchSelectorDialog()

Field Detail

callback

A callback function that's called after a selection is made

repository

A ecm.model.Repository object of the searches to be selected

selectionMode

Deprecated:
As of release 2.0.1

toolbarEnabled

A boolean flag to enable a button to launch ecm.model.SearchBuilder widget and a text box to filter searches

Method Detail

setRepository(repository)

Sets the repository used to populate the search list.
Parameters:
repository
An instance of an ecm.model.Repository object.
Since:
2.0.3

show(callback)

Calls super.show() function.
Parameters:
callback