Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<html xmlns:javaee="http://java.sun.com/xml/ns/javaee">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>tree
         (VDL Documentation)
         
      </title>
      <meta name="keywords" content="$tagname">
      <link rel="stylesheet" type="text/css" href="../css/stylesheet.css" title="Style">
   </head><script>
                function asd()
                {
                parent.document.title="tree (VDL Documentation)";
                }
            </script><body bgcolor="white" onload="asd();"><a name="navbar_top"></a><table border="0" width="100%" cellpadding="1" cellspacing="0">
         <tr>
            <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><a NAME="navbar_top_firstrow"></a><table BORDER="0" CELLPADDING="0" CELLSPACING="3">
                  <tr ALIGN="center" VALIGN="top">
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<font CLASS="NavBarFont1Rev">&nbsp;Tag&nbsp;</font>&nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>
                        &nbsp;
                        
                     </td>
                  </tr>
               </table>
            </td>
            <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em></em></td>
         </tr>
         <tr>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2"></font></td>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
                  &nbsp;
                  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>
                  &nbsp;
                  &nbsp;
                  <a href="tree.html" target="_top"><b>NO FRAMES</b></a>
                  &nbsp;
                  <script></script><noscript><a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a></noscript></font></td>
         </tr>
      </table>
      <hr>
      <h2><font size="-1">rich</font><br>
         Tag
         tree
      </h2>
      <hr><p>The &lt;rich:tree&gt; component provides a hierarchical tree control. Each &lt;rich:tree&gt; component typically consists
      of &lt;rich:treeNode&gt; child components. The appearance and behavior of the tree and its nodes can be fully customized.</p>
      @author Nick Belaevski<br><p></p>
      <hr>
      <table border="1" cellpadding="3" cellspacing="0" width="100%">
         <tr bgcolor="#CCCCFF" class="TableHeadingColor">
            <td colspan="2"><font size="+2"><b>Tag Information</b></font></td>
         </tr>
         <tr>
            <td>Component type</td>
            <td>org.richfaces.Tree</td>
         </tr>
         <tr>
            <td>Tag Name</td>
            <td>rich:tree</td>
         </tr>
         <tr>
            <td>Renderer Type</td>
            <td>org.richfaces.TreeRenderer</td>
         </tr>
         <tr>
            <td>Handler Class</td>
            <td>org.richfaces.view.facelets.TreeHandler</td>
         </tr>
      </table><br><p></p>
      <table border="1" cellpadding="3" cellspacing="0" width="100%">
         <tr bgcolor="#CCCCFF" class="TableHeadingColor">
            <td colspan="5"><font size="+2"><b>Attributes</b></font></td>
         </tr>
         <tr>
            <td><b>Name</b></td>
            <td><b>Required</b></td>
            <td><b>Type</b></td>
            <td><b>Description</b></td>
         </tr>
         <tr valign="top">
            <td>binding</td>
            <td>false</td>
            <td><code>javax.faces.component.UIComponent</code></td>
            <td>The value binding expression used to wire up this component to a component property of a JavaBean class</td>
         </tr>
         <tr valign="top">
            <td>data</td>
            <td>false</td>
            <td><code>java.lang.Object</code></td>
            <td>Serialized (on default with JSON) data passed to the client by a developer on an AJAX request. It's accessible via "event.data"
               syntax. Both primitive types and complex types such as arrays and collections can be serialized and used with data
            </td>
         </tr>
         <tr valign="top">
            <td>dir</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).</td>
         </tr>
         <tr valign="top">
            <td>execute</td>
            <td>false</td>
            <td><code>java.lang.Object</code></td>
            <td>Ids of components that will participate in the "execute" portion of the Request Processing Lifecycle. Can be a single id,
               a space or comma separated list of Id's, or an EL Expression evaluating to an array or Collection. Any of the keywords "@this",
               "@form", "@all", "@none", "@region" may be specified in the identifier list. Some components make use of additional keywords
            </td>
         </tr>
         <tr valign="top">
            <td>handleClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied to the tree node handles.</td>
         </tr>
         <tr valign="top">
            <td>iconClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied to the tree node icons.</td>
         </tr>
         <tr valign="top">
            <td>iconCollapsed</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The icon for collapsed node</td>
         </tr>
         <tr valign="top">
            <td>iconExpanded</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The icon for expanded node</td>
         </tr>
         <tr valign="top">
            <td>iconLeaf</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The icon for component leaves</td>
         </tr>
         <tr valign="top">
            <td>id</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The component identifier for this component. This value must be unique within the closest parent component that is a naming
               container.
            </td>
         </tr>
         <tr valign="top">
            <td>immediate</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners
               and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.
            </td>
         </tr>
         <tr valign="top">
            <td>keepSaved</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>Boolean attribute that defines whether this iteration component will reset saved children's state before rendering. By default
               state is reset if there are no faces messages with severity error or higher
            </td>
         </tr>
         <tr valign="top">
            <td>labelClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied to the tree node labels.</td>
         </tr>
         <tr valign="top">
            <td>lang</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Code describing the language used in the generated markup for this component.</td>
         </tr>
         <tr valign="top">
            <td>limitRender</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>If "true", render only those ids specified in the "render" attribute, forgoing the render of the auto-rendered panels</td>
         </tr>
         <tr valign="top">
            <td>nodeClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied to the tree nodes.</td>
         </tr>
         <tr valign="top">
            <td>nodeType</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Determines which treeNode should be used for rendering. Should contain EL expressions which uses request-scoped variable with
               name defied in attribute 'var'.
            </td>
         </tr>
         <tr valign="top">
            <td>onbeforedomupdate</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called after the ajax response comes back, but before the DOM is updated</td>
         </tr>
         <tr valign="top">
            <td>onbeforenodetoggle</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called before the node is toggled.</td>
         </tr>
         <tr valign="top">
            <td>onbeforeselectionchange</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called before the selection is changed.</td>
         </tr>
         <tr valign="top">
            <td>onbegin</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called before an ajax request.</td>
         </tr>
         <tr valign="top">
            <td>onclick</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is clicked over this element.</td>
         </tr>
         <tr valign="top">
            <td>oncomplete</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called after the DOM is updated</td>
         </tr>
         <tr valign="top">
            <td>ondblclick</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is double clicked over this element.</td>
         </tr>
         <tr valign="top">
            <td>onkeydown</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is pressed down over this element.</td>
         </tr>
         <tr valign="top">
            <td>onkeypress</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is pressed and released over this element.</td>
         </tr>
         <tr valign="top">
            <td>onkeyup</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is released over this element.</td>
         </tr>
         <tr valign="top">
            <td>onmousedown</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is pressed down over this element.</td>
         </tr>
         <tr valign="top">
            <td>onmousemove</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved within this element.</td>
         </tr>
         <tr valign="top">
            <td>onmouseout</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved away from this element.</td>
         </tr>
         <tr valign="top">
            <td>onmouseover</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved onto this element.</td>
         </tr>
         <tr valign="top">
            <td>onmouseup</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is released over this element.</td>
         </tr>
         <tr valign="top">
            <td>onnodetoggle</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called after the node is toggled.</td>
         </tr>
         <tr valign="top">
            <td>onselectionchange</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called after the selection is changed.</td>
         </tr>
         <tr valign="top">
            <td>render</td>
            <td>false</td>
            <td><code>java.lang.Object</code></td>
            <td>Ids of components that will participate in the "render" portion of the Request Processing Lifecycle. Can be a single id, a
               space or comma separated list of Id's, or an EL Expression evaluating to an array or Collection. Any of the keywords "@this",
               "@form", "@all", "@none", "@region" may be specified in the identifier list. Some components make use of additional keywords
            </td>
         </tr>
         <tr valign="top">
            <td>rendered</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent
               form submit. The default value for this property is true.
            </td>
         </tr>
         <tr valign="top">
            <td>rowKeyConverter</td>
            <td>false</td>
            <td><code>javax.faces.convert.Converter</code></td>
            <td>Converter for a row key object</td>
         </tr>
         <tr valign="top">
            <td>rowKeyVar</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Provides access to the row key in a Request scope</td>
         </tr>
         <tr valign="top">
            <td>selection</td>
            <td>false</td>
            <td><code>java.util.Collection</code></td>
            <td>The collections of selected nodes.</td>
         </tr>
         <tr valign="top">
            <td>selectionChangeListener</td>
            <td>false</td>
            <td><code>javax.el.MethodExpression</code></td>
            <td>MethodExpression representing an tree node toggle listener method that will be notified when the tree node is toggled. The
               expression must evaluate to a public method that takes an TreeToggleEvent parameter, with a return type of void, or to a public
               method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing where
               the event came from, but this can be useful in cases where a notification is needed that "some action happened".
            </td>
         </tr>
         <tr valign="top">
            <td>selectionType</td>
            <td>false</td>
            <td><code>org.richfaces.component.SwitchType</code></td>
            <td>The type of type of the selection - ajax (default), client, server.</td>
         </tr>
         <tr valign="top">
            <td>stateVar</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Provides access to the state in a Request scope</td>
         </tr>
         <tr valign="top">
            <td>status</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Name of the request status component that will indicate the status of the Ajax request</td>
         </tr>
         <tr valign="top">
            <td>style</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>CSS style(s) to be applied when this component is rendered.</td>
         </tr>
         <tr valign="top">
            <td>styleClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through
               as the "class" attribute on generated markup.
            </td>
         </tr>
         <tr valign="top">
            <td>title</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Advisory title information about markup elements generated for this component.</td>
         </tr>
         <tr valign="top">
            <td>toggleListener</td>
            <td>false</td>
            <td><code>javax.el.MethodExpression</code></td>
            <td>Method expression referencing a method that will be called when an TreeSelectionChangeEvent has been broadcast for the listener.</td>
         </tr>
         <tr valign="top">
            <td>toggleNodeEvent</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Client-side event used for toggling tree nodes (click, dblclick, etc.)</td>
         </tr>
         <tr valign="top">
            <td>toggleType</td>
            <td>false</td>
            <td><code>org.richfaces.component.SwitchType</code></td>
            <td>The type of type of the node toggling - ajax (default), client, server.</td>
         </tr>
         <tr valign="top">
            <td>value</td>
            <td>false</td>
            <td><code>java.lang.Object</code></td>
            <td>Points to the data model</td>
         </tr>
         <tr valign="top">
            <td>var</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>A request-scope attribute via which the data object for the current row will be used when iterating</td>
         </tr>
      </table><br><p></p><a name="navbar_bottom"></a><table border="0" width="100%" cellpadding="1" cellspacing="0">
         <tr>
            <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><a NAME="navbar_bottom_firstrow"></a><table BORDER="0" CELLPADDING="0" CELLSPACING="3">
                  <tr ALIGN="center" VALIGN="top">
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<font CLASS="NavBarFont1Rev">&nbsp;Tag&nbsp;</font>&nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>
                        &nbsp;
                        
                     </td>
                  </tr>
               </table>
            </td>
            <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em></em></td>
         </tr>
         <tr>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2"></font></td>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
                  &nbsp;
                  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>
                  &nbsp;
                  &nbsp;
                  <a href="tree.html" target="_top"><b>NO FRAMES</b></a>
                  &nbsp;
                  <script></script><noscript><a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a></noscript></font></td>
         </tr>
      </table>
      <hr><small><i>
            Output Generated by
            <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation
               Generator</a>.
            </i></small></body>
</html>
New to GrepCode? Check out our FAQ X