KAWWA Markup Pattern Library

Navigation

Breadcrumbs

Breadcrumbs typically appear horizontally across the top of a web page, usually below title bars or headers. They provide links back from the current page to its parent ones, following the hierarchical site structure.

Remember to adjust the level of the title to the structure of your document (use The HTML5 Outliner to check and finetune your document outline).

IE Backward Compatibility

Tapestry Integration

Tapestry kawwa components comes with a Breadcrumb component. By default, the list of elements displayed in the breadcrumb is based on the package's hierarchy of your application. You can customize this behaviour by using the breadcrumbListProviderName parameter.

Breadcrumb parameters

Name

Required

Java Type

Default Prefix

Default Value

Description

home

true

String

literal

the first element of the breadcrumb (generally the home page of your application), this is the home parameter of the breadcrumb component

breadcrumbProvider

false

String

literal

PackageBasedBread--crumbListProvider

The id of the BreadcrumbListProvider implementation. This implementation has to return an ordered list of String[] that will be displayed in the breadcrumb. String[0] is the page name, used to generate the pagelink. String[1] is the text to display in the breadcrumb. Please find an example below.

splittingChar

false

String

literal

>

Splitting character between breadcrumb elements

lastSplittingChar

false

String

literal

>

Last splitting character : between the last pagelink and the current page