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

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Feb 22 05:51:35 EST 2008


Author: msorokin
Date: 2008-02-22 05:51:35 -0500 (Fri, 22 Feb 2008)
New Revision: 6278

Modified:
   trunk/docs/userguide/en/src/main/docbook/included/tree.xml
Log:
The text revision is done. 
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-21 18:41:10 UTC (rev 6277)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml	2008-02-22 10:51:35 UTC (rev 6278)
@@ -618,7 +618,7 @@
         <tbody>
           <row>
             <entry>dragValue</entry>
-            <entry>Element value drag passing into processing after a Drop event</entry>
+            <entry>Element value drag passed into processing after a Drop event</entry>
           </row>
 
 
@@ -660,17 +660,17 @@
           </row>
           <row>
             <entry>acceptedTypes</entry>
-            <entry>Drag zone names are allowed to be processed with a Drop zone.</entry>
+            <entry>Drag zone names are allowed to be processed with a Drop zone</entry>
           </row>
           <row>
             <entry>typeMapping</entry>
-            <entry>Drag zones names mapping on the corresponding drop zone parameters.</entry>
+            <entry>Drag zones names mapping on the corresponding drop zone parameters</entry>
           </row>
         </tbody>
       </tgroup>
     </table>
 
-    <para>An example of usage is placed below.</para>
+    <para>Please see an example below.</para>
 
     <para>
       <emphasis role="bold">Example:</emphasis>
@@ -692,20 +692,21 @@
         </rich:treeNode>
     </rich:tree>
 </h:form>
-...]]></programlisting>
+...]]>
+</programlisting>
 
-    <para>In the example a song from one album can be dragged into other because for the second
-        <property>treeNode</property> with <emphasis>
-        <property>&quot;type&quot;</property>
-      </emphasis>=&quot;album&quot; was defined attribute <emphasis>
-        <property>&quot;acceptedTypes&quot;</property>
-      </emphasis>=&quot;song&quot;. Its value is equal to the value of the<emphasis>
-        <property>&quot;type&quot;</property>
-      </emphasis>attribute defined for the third treeNode (see picture below). Also an album can be
+   <para>
+
+In the shown example a song from one album can be dragged into another because attribute 
+ <emphasis><property>&quot;acceptedTypes&quot;</property> </emphasis>=&quot;song&quot; defined in the second <property>treeNode</property>
+ with <emphasis><property>&quot;type&quot;</property></emphasis>=&quot;album&quot;. Its value is equal to the value of the<emphasis>
+        <property>&quot;type&quot;</property></emphasis>attribute defined  in the third <property>treeNode</property> (see picture below).  An album can be also
       dragged into <property>treeNode</property> with <emphasis>
         <property>&quot;type&quot;</property>
-      </emphasis>=&quot;artist&quot;.</para>
+      </emphasis>=&quot;artist&quot; property.
 
+</para>
+
     <figure>
       <title>DnD operations</title>
       <mediaobject>
@@ -733,20 +734,20 @@
       <listitem>onexpand is a script expression to invoke when a node is expanded</listitem>
       <listitem>oncollapse is a script expression to invoke when a node is collapsed</listitem>
       <listitem>ondragexit is a script expression to invoke when an element passing out from a tree zone</listitem>
-      <listitem>ondragstart is a script expression to invoke when drag starts</listitem>
-      <listitem>ondragend is a script expression to invoke when drag ends (a drop event)</listitem>
+      <listitem>ondragstart is a script expression to invoke when dragging starts</listitem>
+      <listitem>ondragend is a script expression to invoke when dragging ends (a drop event)</listitem>
       <listitem>ondragenter is a script expression to invoke when a dragged element appears on a tree</listitem>
     </itemizedlist>
 
     <para>They can be used to add some JavaScript effects.</para>
 
-    <para> Also standart HTML event attributes like<emphasis>
+    <para> Standart HTML event attributes like<emphasis>
         <property>&quot;onclick&quot;</property>
       </emphasis>, <emphasis>
         <property>&quot;onmousedown&quot;</property>
       </emphasis>, <emphasis>
         <property>&quot;onmouseover&quot;</property>
-      </emphasis> and etc. could be used. Event handlers of a <emphasis role="bold">
+      </emphasis> etc. can be also used. Event handlers of a <emphasis role="bold">
         <property>&lt;rich:tree&gt;</property>
       </emphasis> component capture events occured on any <property>tree</property> part. But event
       handlers of <property>treeNode</property> capture events occured on
@@ -854,7 +855,7 @@
     </figure>
     
     <para>In the example a tree font weight was changed to bold.</para>
-    <para>Also it’s possible to change styles of particular <emphasis role="bold"
+    <para>Also it&apos;s possible to change styles of a particular <emphasis role="bold"
       ><property>&lt;rich:tree&gt;</property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
         ><property>&lt;rich:tree&gt;</property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
     
@@ -886,7 +887,7 @@
       </mediaobject>
     </figure>  
     
-    <para>As it could be seen on the picture above, font weight of highlighted text node of a tree was changed to bold.</para>      
+    <para>As it&apos;s shown on the picture above, font weight of highlighted text node of a tree was changed to bold.</para>      
   </section>
  
   <section>




More information about the richfaces-svn-commits mailing list