+

Search Tips   |   Advanced Search

The Breadcrumb Trail portlet


The Breadcrumb Trail portlet allows us to add the navigation path to the static pages. The breadcrumb trail starts at the content root and goes down to the currently selected static page.


Unique name

We can address the Breadcrumb Trail portlet by its unique name: wps.p.SpaBreadCrumbTrail .


Usage

We can embed the Breadcrumb Trail 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 tag with the portlet microformat, and the portlet renders the breadcrumb trail using the navigation microformat.


Example

The following example produces a breadcrumb trail navigation for the current page:

<div class="portlet-window" name="breadcrumb"
     style="portlet-definition:wps.p.SpaBreadCrumbTrail">
</div>


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