You can drag the Breadcrumbs component
from the Palette's Composite category to the Visual Designer to create a container for hyperlink components separated by right angle brackets (
>
). The initial component has a single hyperlink in it that points to the current page.
A typical use of Breadcrumbs is to show the user's location in an application by displaying the path through the application's page hierarchy to the current page. Each page in the path is a link that can be used to navigate to other locations in the application.
A Breadcrumbs component typically contains Hyperlink Components. If you drop a hyperlink component on a Breadcrumbs component, it is added to the list at the end. You can see these components displayed as hierarchical nodes in the Navigator window after you add a Breadcrumbs component to your page.
Alternatively, you can populate the list of hyperlinks by setting the pages
property to point to an array or list of Hyperlink
objects that you manage in a JavaBean. To bind the pages
property to an object or data provider, right-click the component in the page and choose Bind to Data.
You can set the Breadcrumbs component's properties in the component's Properties window.