Author: vkukharchuk
Date: 2007-05-23 11:00:59 -0400 (Wed, 23 May 2007)
New Revision: 843
Modified:
trunk/docs/userguide/en/included/tree.xml
Log:
Modified: trunk/docs/userguide/en/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/included/tree.xml 2007-05-23 13:59:41 UTC (rev 842)
+++ trunk/docs/userguide/en/included/tree.xml 2007-05-23 15:00:59 UTC (rev 843)
@@ -105,8 +105,32 @@
in state or request. The
<emphasis
role="italic"><property>"treeDataLocator"</property></emphasis>
attribute
defines a class providing an access to cashed data according to the ids saved in
state/request
- on recovery or cashing data saving the Id on caching.</para>
- </section>
+ on recovery or cashing data saving the Id on caching.</para>
+
+ <para>
+ The <emphasis
role="italic"><property>"icon"</property></emphasis>,
+ <emphasis
role="italic"><property>"iconCollapsed"</property></emphasis>,
+ <emphasis
role="italic"><property>"iconExpanded"</property></emphasis>
+ attributes define icons for the component. Also you can use the facets with the same
names. If the facets are defined,
+ the corresponding attributes are ignored and the facets' contents are used as icons.
Maximum width of rendered facet area is 16 px.
+ <programlisting role="JAVA"><![CDATA[
+<rich:tree ....>
+ ...
+ <f:facet name="icon">
+ <hutputText value="A"/>
+ </f:facet>
+ <f:facet name="iconCollapsed">
+ <hutputText value="B"/>
+ </f:facet>
+ <f:facet name="iconExpanded">
+ <hutputText value="C"/>
+ </f:facet>
+ ...
+</rich:tree>
+]]></programlisting></para>
+
+ </section>
+
<section>
<title>Built-In Drag and Drop</title>
<para>The tree component functionality provides a built-in support for Drag and
Drop operations.
Show replies by date