| com.sun.rave.web.ui.component.BreadcrumbsBase
All known Subclasses: com.sun.rave.web.ui.component.Breadcrumbs,
BreadcrumbsBase | abstract public class BreadcrumbsBase extends javax.faces.component.UICommand (Code) | | Render a breadcrumb or parentage path.
HTML Elements and Layout
This tag will render a breadcrumb (or parentage path) on a page. A breadcrumb or parentage path is a set of hyperlinks, displayed on a page to show the user's location within an application, and the physical or logical path to a page. The breadcrumbs can be used to navigate to other locations within the application.
Client Side Javascript Functions
none.
Examples
The pages which comprise breadcrumbs can be specified as child components of the breadcrumbs or by using the pages attribute. If the pages attribute is used, the value must an EL expression that identifies an array of com.sun.rave.web.ui.Hyperlink .
Breadcrumbs must be used within a <ui:form> tag.
Example 1:
Using child components:
<ui:breadcrumbs id="breadcrumbs1">
<ui:hyperlink url="http://google.com" label="Google"/>
<ui:hyperlink url="http://yahoo.com" label="Yahoo"/>
<ui:hyperlink url="http://sun.com" label="Sun"/>
</ui:breadcrumbs>
Example 2:
Using a value binding:
<ui:breadcrumbs id="breadcrumbs2" pages="#{FieldBean.pagelist}" />
Auto-generated component class.
Do NOT modify; all changes
will be lost!
|
BreadcrumbsBase | public BreadcrumbsBase()(Code) | | Construct a new BreadcrumbsBase .
|
getFamily | public String getFamily()(Code) | | Return the identifier of the component family to which this
component belongs. This identifier, in conjunction with the value
of the rendererType property, may be used to select
the appropriate
Renderer for this component instance.
|
getStyle | public String getStyle()(Code) | | CSS style(s) to be applied when this component is rendered.
|
getStyleClass | public String getStyleClass()(Code) | | CSS style class(es) to be applied when this component is rendered.
|
getTabIndex | public int getTabIndex()(Code) | | The position of this component in the tabbing order sequence
|
isVisible | public boolean isVisible()(Code) | | Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. If set to false, the
HTML code for the component is present in the page, but the component
is hidden with style attributes. By default, visible is set to true, so
HTML for the component HTML is included and visible to the user. If the
component is not visible, it can still be processed on subsequent form
submissions because the HTML is present.
|
restoreState | public void restoreState(FacesContext _context, Object _state)(Code) | | Restore the state of this component.
|
saveState | public Object saveState(FacesContext _context)(Code) | | Save the state of this component.
|
setVisible | public void setVisible(boolean visible)(Code) | | Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. If set to false, the
HTML code for the component is present in the page, but the component
is hidden with style attributes. By default, visible is set to true, so
HTML for the component HTML is included and visible to the user. If the
component is not visible, it can still be processed on subsequent form
submissions because the HTML is present.
See Also: BreadcrumbsBase.isVisible() |
|
|