compared with
Current by Arturo Zambrano
on Dec 11, 2014 03:36.

These lines were removed. This word was removed.
These lines were added. This word was added.

View page history

There are 2 changes. View first change.

 h2. Overview
 _Since 4.0_
 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.
 {excerpt:hidden=true}  !breadcrumb.png!{excerpt}
 {tip}See the ICEfaces Showcase [Live Demo|] of this component, complete with source code.{tip}
 h2. Getting Started
 To use the breadcrumbMenu component, first the ace component name-space has to be added in your page.
 {code:xml}<html ... xmlns:ace="">
 &nbsp;Now you ready to use breadcrumbMenu component, here is the basic example:
 h2. Attributes
 {tip:title=TagLib Documentation}This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available [here|].{tip}
 *Define the model of this component:*
 The *model* attribute of breadcrumbMenu allows the user to create and maintain a dynamic list of links representing an action or URL.
 h2. Event Listeners
 Although not containing any of its own action Listeners, each menuItem child will have it's own ability to have an acitonListener.
 h2. Client Behavior Events
 No direct client behavior is currently associated with this component. Please see those for {code}<ace:menuItem}{code}
 h2. JavaScript API
  h4. ICEfaces 3.x
 The client side component object is exposed through the global variable name specified in the *widgetVar* attribute.
 h4. ICEfaces 4+
 The "widgetVar" attribute on the ACE components has been removed in ICEfaces 4 and in its place a new "ice.ace.instance()" client JavaScript object lookup API has been introduced. The reason for this change is to enable lazy-initialization of the ACE component JavaScript objects to improve runtime performance and reduce browser memory use.
 {code}var widget = ice.ace.instance('frm:componentId);{code}
 {tip}The _ice.ace.instance_ function requires the _full_ client id of the component to be specified, such as "j_idt77:componentId" instead of just "componentId". To reduce the complexity of working with complete IDs with this function it may be preferable in some cases to use {{prependId="false"}} in the enclosing form (e.g. _<h:form prependId="false">_).{tip}
 {info}This component doesn't have a client-side API made specifically to be used by application developers. However, the component's internal methods and variables can be accessed in this way, including the underlying jQuery object and objects from underlying Javascript libraries (if applicable), and can be used for whatever purpose a developer might have in mind.
 h2. Keyboard and ARIA Support
 The following ARIA roles are supported: menubar, menuitem.
 h2. CSS Classes
 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>
 h2. Known Issues
 h2. Additional Resources
 h4. Tutorials
 This component appears in the following ICEfaces tutorials:

© Copyright 2018 ICEsoft Technologies Canada Corp.