[richfaces-svn-commits] JBoss Rich Faces SVN: r11847 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Dec 17 09:18:12 EST 2008


Author: ilya_shaikovsky
Date: 2008-12-17 09:18:12 -0500 (Wed, 17 Dec 2008)
New Revision: 11847

Modified:
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/simple-tree-dnd.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-5246

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/simple-tree-dnd.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/simple-tree-dnd.xhtml	2008-12-17 14:09:37 UTC (rev 11846)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/simple-tree-dnd.xhtml	2008-12-17 14:18:12 UTC (rev 11847)
@@ -7,17 +7,33 @@
 	xmlns:rich="http://richfaces.org/rich">
 	<ui:composition template="/templates/component-sample.xhtml">
 		<ui:define name="sample">
-		
 				<p>
-					Tree Dnd Example
+					This example shows the built-in tree drag and drop functionality 
+					and also demonstrates drag and drop from outside the tree to some 
+					of its nodes.
 				</p>
-		
+				<ul>
+					<li>
+						Select "Unsorted" node to see all the pictures in preview panel 
+						from the right. Then you could drag and drop any picture to any other
+						node.
+					</li>
+					<li>
+						Or you could expand some node with pictures and drag and drop 
+						just the leaves between the nodes.
+					</li>
+				</ul>
 				<div class="sample-container" >
 					<ui:include src="/richfaces/tree/examples/simpleDnd.xhtml"/>
 					<ui:include src="/templates/include/sourceview.xhtml">
 						<ui:param name="sourcepath" value="/richfaces/tree/examples/simpleDnd.xhtml"/>
 						<ui:param name="openlabel" value="View Source" />
 					</ui:include>		
+					<ui:include src="/templates/include/sourceview.xhtml">
+						<ui:param name="sourcepath" value="/WEB-INF/src/org/richfaces/demo/tree/SimpleTreeDndBean.java"/>
+						<ui:param name="openlabel" value="View SimpleTreeDndBean.java Source" />
+						<ui:param name="sourcetype" value="java" />
+					</ui:include>
 				</div>
 		</ui:define>
 	</ui:composition>




More information about the richfaces-svn-commits mailing list