[richfaces-svn-commits] JBoss Rich Faces SVN: r6222 - trunk/docs/userguide/en/src/main/docbook/included.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Feb 20 12:09:01 EST 2008


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>&lt;rich:recursiveTreeNodesAdaptor&gt;</property>
       </emphasis> or <emphasis role="bold">
         <property>&lt;rich:treeNodesAdaptor&gt;</property>
-      </emphasis> and without them. In the first case, it&apos;s possible to define it without <emphasis>
+      </emphasis> 2) and without them. The first method allows to omit<emphasis>
         <property>&quot;value&quot;</property>
       </emphasis> and <emphasis>
         <property>&quot;var&quot;</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&apos;s necessary to define it with these attributes as
+    <para> The second way requires defining  some attributes,  as
       it&apos;s shown in the example: </para>
 
     <para>
@@ -327,19 +327,19 @@
     <para><property>&quot;TreeNode&quot;</property> has a property
         <property>&quot;data&quot;</property> (see <ulink
         url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/apidoc_framework/org/richfaces/model/TreeNode.html"
-        >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>&quot;var&quot;</property>
       </emphasis> attribute for the <emphasis role="bold">
         <property>&lt;rich:tree&gt;</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>&quot;TreeNode&quot;</property> interface or use a default implementation,
       which is defined with a default class <property>&quot;TreeNodeImpl&quot;</property>
         (<ulink
         url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/apidoc_framework/org/richfaces/model/TreeNodeImpl.html"
         >org.richfaces.model.TreeNodeImpl</ulink>).</para>
-    <para>There is <property>&quot;XmlTreeDataBuilder&quot;</property> class (<ulink
+    <para>There is a <property>&quot;XmlTreeDataBuilder&quot;</property> class (<ulink
         url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/xml/XmlTreeDataBuilder.html"
         >org.richfaces.component.xml.XmlTreeDataBuilder</ulink>) that allows transforming XML into
       structures of objects containing <property>&quot;XmlNodeData&quot;</property> (<ulink
@@ -348,14 +348,14 @@
       represented by the <emphasis role="bold">
         <property>&lt;rich:tree&gt;</property>
       </emphasis> component.</para>
-    <para>It&apos;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&apos;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>&quot;var&quot;</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>&lt;rich:treeNode&gt;</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>&quot;nodeFace&quot;</property>
       </emphasis> attribute. For each tree node a value of <emphasis>
         <property>&quot;nodeFace&quot;</property>
@@ -365,7 +365,7 @@
         <property>&quot;type&quot;</property>
       </emphasis> attribute equal to a value of <emphasis>
         <property>&quot;nodeFace&quot;</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>




More information about the richfaces-svn-commits mailing list