Author: vkorluzhenko
Date: 2007-08-14 09:31:39 -0400 (Tue, 14 Aug 2007)
New Revision: 2246
Modified:
trunk/docs/userguide/en/src/main/docbook/included/tree.xml
Log:
http://jira.jboss.com/jira/browse/RF-598
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-08-14 12:40:55 UTC
(rev 2245)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-08-14 13:31:39 UTC
(rev 2246)
@@ -84,15 +84,21 @@
for example depending on its definition, could be rendered with markup defined in
one of
<property>tree</property> nodes. It's defined with the
<emphasis>
<property>"nodeFace"</property>
- </emphasis> attribute that contains treeNode name for elements rendering.
</para>
- <para>On the screenshot there are examples of nodes defined with different
templates on the
- following conditions</para>
+ </emphasis> attribute that contains treeNode name for elements rendering.
It's not
+ necessary to define <emphasis>
+ <property>"nodeFace"</property>
+ </emphasis> attribute. In case when <emphasis>
+ <property>"nodeFace"</property>
+ </emphasis> is undefined the first node inside the tree will be use by
default. </para>
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="JAVA"><![CDATA[nodeFace="#{data.name !=
'param-value' ? 'input' : 'text'}"
-]]></programlisting>
+ ]]></programlisting>
+ <para>On the screenshot there are examples of nodes defined with different
templates on the
+ following conditions.</para>
<figure>
<title>Different nodes of tree</title>