[richfaces-svn-commits] JBoss Rich Faces SVN: r9171 - trunk/test-applications/jsp/src/main/webapp/Tree.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Jun 24 06:44:09 EDT 2008


Author: mvitenkov
Date: 2008-06-24 06:44:09 -0400 (Tue, 24 Jun 2008)
New Revision: 9171

Modified:
   trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp
Log:
ajaxSubmitSelection="true"

Modified: trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp	2008-06-24 10:36:53 UTC (rev 9170)
+++ trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp	2008-06-24 10:44:09 UTC (rev 9171)
@@ -167,6 +167,7 @@
 	</rich:tree>
 
 	<rich:spacer></rich:spacer>
+	<!-- Drag and Drop API for rich:tree component -->
 	<div style="FONT-WEIGHT: bold;">Drag & Drop example</div>
 	<br />
 	<h:form>
@@ -186,7 +187,7 @@
 
 				<rich:tree id="leftTree" style="width:300px"
 					nodeSelectListener="#{treeDndBean.processLSelection}"
-					reRender="selectedNodeL" ajaxSubmitSelection="false"
+					reRender="selectedNodeL" ajaxSubmitSelection="true"
 					switchType="client" value="#{treeDndBean.treeNodeLeft}"
 					changeExpandListener="#{treeDndBean.onExpand}"
 					binding="#{treeDndBean.leftTree}"
@@ -196,9 +197,9 @@
 					dropListener="#{treeDndBean.onDrop}"
 					dragListener="#{treeDndBean.onDrag}" dragIndicator="treeIndicator"
 					acceptedTypes="treeNode" dragType="treeNode" rowKeyVar="key"
-					var="item">
+					var="item" >
 
-					<rich:dndParam name="treeParam" value="leftTree" />
+					<rich:dndParam name="treeParam" value="leftTree" />					
 				</rich:tree>
 
 			</h:panelGroup>
@@ -211,7 +212,7 @@
 
 				<rich:tree id="rightTree" style="width:300px"
 					nodeSelectListener="#{treeDndBean.processRSelection}"
-					reRender="selectedNodeR" ajaxSubmitSelection="false"
+					reRender="selectedNodeR,rightContainer" ajaxSubmitSelection="true"
 					switchType="client" value="#{treeDndBean.treeNodeRight}"
 					changeExpandListener="#{treeDndBean.onExpand}"
 					binding="#{treeDndBean.rightTree}"




More information about the richfaces-svn-commits mailing list