Solution
Create and register a BreadCrumbDelegate Java class with an inner class that extends AbstractBreadCrumbGenerator to display the breadcrumbs.
Prerequisite Knowledge
To create the necessary breadcrumb classes you will need an understanding of the Java programming language.
Solution Elements
Element
Type
Description
BreadCrumbController
Java class
The controller class that receives AJAX requests for bread crumbs. It returns a response that is the string form of a JSON array of crumbs.
BreadCrumbDelegateFactory
Java class
A factory used by the BreadCrumbController to locate a BreadCrumbDelegate capable of producing the breadcrumbs for a given page.
BreadCrumbDelegate
Java interface
A delegate that contains an inner AbstractBreadCrumbGenerator class and that knows which pages the generator class can produce bread crumbs for.
AbstractBreadCrumbGenerator
Java class
A subclass of this base class creates the breadcrumbs for a page.
*.wt.properties.xconf
Properties xconf file
Contains the property “com.ptc.windchill.enterprise.breadcrumb.BreadCrumbDelgate” that lists all available BreadCrumbDelegates.
Was this helpful?