+

Search Tips   |   Advanced Search

The Navigation portlet


The Navigation portlet allows us to add dynamic portal navigation to a static page. When writing a static portal page we can configure the starting point of the navigation and the number of navigation levels using the initialization parameters.


Unique name

We can address the Navigation Portlet by its unique name: wps.p.SpaNavigation .


Usage

We can embed the navigation portlet into a static page using the semantic tag portlet-window described in the topic about class attributes for portlets on static pages. When rendering the page, the server replaces the semantic tag with the portlet microformat, and the portlet renders the navigation using the navigation microformat. The portlet accepts the following configuration parameters that we can embed by coding a definition list ( <dl> ) in the static page:


Example

The following example produces a single level navigation of the siblings of the current page:

The following example shows the quick link navigation:


Parent: Portlets for adding dynamic elements to static pages
Related reference:
The Breadcrumb Trail portlet
The SPA Resource Addressability portlet
Class attributes for portlets on static pages