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

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Apr 26 16:16:36 EDT 2007


Author: nbelaevski
Date: 2007-04-26 16:16:36 -0400 (Thu, 26 Apr 2007)
New Revision: 581

Modified:
   trunk/richfaces-samples/tree-demo/src/main/webapp/pages/index.jsp
Log:
Test case updated

Modified: trunk/richfaces-samples/tree-demo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/richfaces-samples/tree-demo/src/main/webapp/pages/index.jsp	2007-04-26 20:09:27 UTC (rev 580)
+++ trunk/richfaces-samples/tree-demo/src/main/webapp/pages/index.jsp	2007-04-26 20:16:36 UTC (rev 581)
@@ -16,6 +16,10 @@
                 color : #00FFFF;
                 cursor: crosshair;
             }
+            
+            .border {
+            	border: 1px dotted navy;
+            }
 
         </style>
 	</head>
@@ -79,7 +83,7 @@
 					<dnd:dndParam name="treeParam" value="Tree Parameter" />
 					<dnd:dndParam name="accept" value="accept" />
 
-					<rich:treeNode type="input" dropListener="#{bean.processDrop}" oncollapse="alert('collapse')" onexpand="alert('expand')">
+					<rich:treeNode type="input" dropListener="#{bean.processDrop}" oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'border')" onexpand="Element.addClassName(event['treeItem'].getElement(), 'border')">
 						<h:outputText value="#{data} : " />
 						<h:inputText value="#{data.name}" required="true" styleClass="inputs">
 						</h:inputText>




More information about the richfaces-svn-commits mailing list