Class ecm.widget.Banner


Extends dijit._Widget, dijit._Templated, ecm.LoggerMixin, ecm.MessagesMixin.
Provides a banner that is displayed in the user interface for an IBM Content Navigator application.
Defined in: <ecm\widget\Banner.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
addSearchBar(searchBar)
Inserts a search dijit in the banner.
 
 
setRepository(repository)
Sets the repository to use for checking actions.
 
setUser(repository)

Constructor Detail

ecm.widget.Banner()

Method Detail

addSearchBar(searchBar)

Inserts a search dijit in the banner.
Parameters:
searchBar
Search dijit to add to the banner.

postCreate()


setRepository(repository)

Sets the repository to use for checking actions.
Parameters:
repository
Instance of ecm.model.Repository.

setUser(repository)

Parameters:
repository
Deprecated:
As of 2.0.2. The user display name should be set in the desktop, not in the container or repository.