Author: msorokin
Date: 2008-02-20 12:09:00 -0500 (Wed, 20 Feb 2008)
New Revision: 6222
Modified:
trunk/docs/userguide/en/src/main/docbook/included/tree.xml
Log:
Some sentences were rewritten.
http://jira.jboss.com/jira/browse/RF-1137
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2008-02-20 17:05:19 UTC
(rev 6221)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2008-02-20 17:09:00 UTC
(rev 6222)
@@ -44,15 +44,15 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>There are two cases for a tree definition: with <emphasis
role="bold">
+ <para>There are two ways to set up a tree: 1) with <emphasis
role="bold">
<property><rich:recursiveTreeNodesAdaptor></property>
</emphasis> or <emphasis role="bold">
<property><rich:treeNodesAdaptor></property>
- </emphasis> and without them. In the first case, it's possible to
define it without <emphasis>
+ </emphasis> 2) and without them. The first method allows to
omit<emphasis>
<property>"value"</property>
</emphasis> and <emphasis>
<property>"var"</property>
- </emphasis> attributes as follows: </para>
+ </emphasis> attributes definition as follows: </para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -64,7 +64,7 @@
</rich:tree>
...]]></programlisting>
- <para> In the second case, it's necessary to define it with these
attributes as
+ <para> The second way requires defining some attributes, as
it's shown in the example: </para>
<para>
@@ -327,19 +327,19 @@
<para><property>"TreeNode"</property> has a
property
<property>"data"</property> (see <ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichface...
- >org.richfaces.model.TreeNode</ulink>). Data contained in the property
are placed in a
+ >org.richfaces.model.TreeNode</ulink>). Data contained in the property
is placed in a
request scope variable, which name is defined with <emphasis>
<property>"var"</property>
</emphasis> attribute for the <emphasis role="bold">
<property><rich:tree></property>
</emphasis> component.</para>
- <para>You can develop and use your own implementation for the
+ <para>You can develop and use your own pattern of the
<property>"TreeNode"</property> interface or use a
default implementation,
which is defined with a default class
<property>"TreeNodeImpl"</property>
(<ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichface...
org.richfaces.model.TreeNodeImpl</ulink>).</para>
-
<para>There is
<property>"XmlTreeDataBuilder"</property> class (<ulink
+ <para>There is a
<property>"XmlTreeDataBuilder"</property> class (<ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichface...
org.richfaces.component.xml.XmlTreeDataBuilder</ulink>) that
allows transforming XML into
structures of objects containing
<property>"XmlNodeData"</property> (<ulink
@@ -348,14 +348,14 @@
represented by the <emphasis role="bold">
<property><rich:tree></property>
</emphasis> component.</para>
- <para>It's possible to define a visual representation of a data model
node (to define a
- node icon) and its behavior in correspondence with data contained in this node
(with a value of
+ <para>It's possible to define a visual representation of a node data
model (to define a
+ node icon) and its behavior in correspondence with the data contained in this node
(with a value of
the <emphasis>
<property>"var"</property>
- </emphasis> attribute). The node behavior is defined by components nested to
the <emphasis
+ </emphasis> attribute). The node behavior is defined by the components
nested into the <emphasis
role="bold">
<property><rich:treeNode></property>
- </emphasis> (it could be links or buttons, for example). For these purposes
you should use <emphasis>
+ </emphasis> (e.g. links or buttons). For these purposes you should use
<emphasis>
<property>"nodeFace"</property>
</emphasis> attribute. For each tree node a value of <emphasis>
<property>"nodeFace"</property>
@@ -365,7 +365,7 @@
<property>"type"</property>
</emphasis> attribute equal to a value of <emphasis>
<property>"nodeFace"</property>
- </emphasis> is used for node representation. An example is placed
below.</para>
+ </emphasis> is used for node representation. See an example
below.</para>
<para id="example">
<emphasis role="bold">Example:</emphasis>