An example of using {@link BreadCrumbPanel bread crumb panels} and {@link BreadCrumbLink breadcrumb links}:
add(new BreadCrumbLink("myLink", breadCrumbModel) { protected IBreadCrumbParticipant getParticipant(String componentId) { return new MyPanel(componentId, breadCrumbModel); } });where MyPanel is a {@link BreadCrumbPanel bread crumb panel} and the link is added toanother {@link BreadCrumbPanel bread crumb panel} instance (this). When clicked, MyPanel willreplace the panel that the link is placed on, and it will set (and add) MyPanel as the active bread crumb in the {@link IBreadCrumbModel bread crumb component model}. @author Eelco Hillenius
|
|