Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
Web Client Customization
Back to Developer Guide
The Sidebar component was introduced in the 2.0 release of the Web Client.
The sidebar replaces the shelf component with an extensible, customisable sidebar component which is made up of a collection of configurable 'sidebar plugins'.
The sidebar component takes care of displaying a list of available plugins and the respective actions for the currently active plugin.
The list of plugins is driven from web client configuration files and is therefore overridable and extensible. The configuration for the out-of-the-box plugins is shown below.
<config evaluator='string-compare' condition='Sidebar'>
<sidebar>
<plugins>
<plugin id='navigator' label-id='navigator' description-id='navigator_desc'
page='/jsp/sidebar/navigator.jsp' actions-config-id='navigator_actions' />
<plugin id='shelf' label-id='shelf' description-id='shelf_desc'
page='/jsp/sidebar/shelf.jsp' />
</plugins>
<default-plugin>navigator</default-plugin>
</sidebar>
</config>
The set of attributes available for each plugin are shown below:
The default-plugin element allows one of the defined plugins to be designated as the default i.e. the one the application shows when a user logs in. If this element is omitted the first plugin in the list is selected as the default.
A sidebar plugin is basically a JSP snippet page (much like dashlets and dialogs/wizards) and an optional action group definition. The JSP contains the component(s) that make up the plugin.
If an action group id is configured for the plugin the action will be displayed in the sidebar header area when the plugin is active as shown in the screenshot below.
NOTE: The use of the f:verbatim tag is problematic in sidebar component JSP snippets, it causes various other components to behave in an erratic manner. Plugin JSP snippet pages should therefore only contain JSF tags.
Uses a task pane approach (accordion style) to house a tree for the main areas of the repository i.e. My Home, Company Home and Guest Home. A panel also exists for the My Alfresco area, this doesn't provide a tree but does give another way to return to the dashboard view.
This plugin currently simply contains the shelf components that were present in previous releases i.e. the Clipboard, Recent Spaces and Shortcuts. These may be split into separate plugins in a future release.
This plugin issues queries against a registered search engine that supports the OpenSearch protocol. The component issues the requests using AJAX and updates the search results without the need for a full page refresh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.