The ace:breadcrumbMenu component displays a horizontal bar of menu items. The crumbs are encoded by child menuItem tags and can be marked up inline or dynamically using a menu model.
BreadcrumbMenu is a horizontal bar of breadcrumb menu items. The crumbs are encoded by child menuItem tags. The menu items can be encoded inline or dynamically using a menu model (org.icefaces.ace.model.MenuModel). The icon attribute is not used. The icon will be forced to a home page icon for the first item and a right arrow icon for the rest. The last (or only) item will also be forced to be disabled.
To use the breadcrumbMenu component, first the ace component name-space has to be added in your page.
<html ... xmlns:ace="http://www.icefaces.org/icefaces/components">
Now you ready to use breadcrumbMenu component, here is the basic example:
Define the model of this component:
Although not containing any of its own action Listeners, each menuItem child will have it's own ability to have an acitonListener.
Client Behavior Events
No direct client behavior is currently associated with this component. Please see those for
The client side component object is exposed through the global variable name specified in the widgetVar attribute.
var widget = ice.ace.instance('frm:componentId);
Keyboard and ARIA Support
The following ARIA roles are supported: menubar, menuitem.
The following markup represents the basic HTML structure of the component and the CSS classes it uses.
<!-- Root container --> <div class="ui-breadcrumb-menu [user defined classes]" style="[user defined styles]"> <div class="ui-widget ui-widget-content wijmo-wijmenu ui-corner-all ui-helper-clearfix wijmo-wijmenu-horizontal"> <div class="scrollcontainer checkablesupport"> <ul class="wijmo-wijmenu-list ui-helper-reset"> <!-- Breadcrumb menu item --> <li class="ui-widget wijmo-wijmenu-item ui-state-default ui-corner-all"> <a class="wijmo-wijmenu-link ui-corner-all"> <span class="wijmo-wijmenu-text"> <span class="ui-icon ui-icon-home wijmo-wijmenu-icon-left"></span> <span class="wijmo-wijmenu-text">Item label</span> </span> </a> </li> </ul> </div> </div> </div>
This component appears in the following ICEfaces tutorials:
© Copyright 2021 ICEsoft Technologies Canada Corp.