ICEfaces EE Composite Components
Tag selectionTree


The Selection Tree Composite Component

Renders a hierarchical tree view of selected nodes

Features

How To Use

  1. Create an instance of the SelectionTreeModel class in your managed bean
  2. Create the tree model from SelectionTreeNode objects and attach the root node to the SelectionTreeModel
  3. Use the <ice-cc:selectionTree/> tag in your page. Nest <ice-cc:css/> in your page <head> tag.
  4. Bind the 'tree' attribute on the tag to your managed bean property (eg. spinner="#{myBean.tree})

Example:
<ice-cc:selectionTree tree="#{selectionTreeExampleBean.treeModel}"> <ice:outputText value="#{node.userObject.label}"/> </ice-cc:selectionTree>


Tag Information
Tag Classjavax.faces.webapp.FacetTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameSelection Tree

Attributes
NameRequiredRequest-timeTypeDescription
treetruefalsecom.icesoft.faces.facelets.component.selectiontree.SelectionTreeModelMust resolve to an instance of the SelectionTreeModel
imageDirfalsefalsejava.lang.StringSet directory for location of the images.
hideRootNodefalsefalsejava.lang.BooleanDeclares whether the root tree node will be rendered. Valid values are true and false.
hideNavigationfalsefalsejava.lang.BooleanDeclares whether the navigation links will be rendered. Valid values are true and false.
keyboardNavigationEnabledfalsefalsejava.lang.BooleanEnables keyboard support, default value is true.
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered
styleClassfalsefalsejava.lang.StringSpace-separated list of CSS style class(es) to be applied when this element is rendered.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.