[richfaces-svn-commits] JBoss Rich Faces SVN: r12141 - in trunk/test-applications/jsp/src/main: webapp/tTree and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Jan 6 12:24:59 EST 2009


Author: adubovsky
Date: 2009-01-06 12:24:58 -0500 (Tue, 06 Jan 2009)
New Revision: 12141

Modified:
   trunk/test-applications/jsp/src/main/java/tTree/TTree.java
   trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp
Log:
+ disableKeyboardNavigation attr for tree

Modified: trunk/test-applications/jsp/src/main/java/tTree/TTree.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/tTree/TTree.java	2009-01-06 17:22:12 UTC (rev 12140)
+++ trunk/test-applications/jsp/src/main/java/tTree/TTree.java	2009-01-06 17:24:58 UTC (rev 12141)
@@ -25,6 +25,7 @@
 	private boolean showConnectingLines = false;
 	private boolean toggleOnClick = false;
 	private boolean useCustomIcons = false;
+	private boolean disableKeyboardNavigation = false;
 
 	private String reRenderCheck = "... waiting ...";
 
@@ -193,4 +194,12 @@
 	public void setUseCustomIcons(boolean useCustomIcons) {
 		this.useCustomIcons = useCustomIcons;
 	}
+
+	public boolean isDisableKeyboardNavigation() {
+		return disableKeyboardNavigation;
+	}
+
+	public void setDisableKeyboardNavigation(boolean disableKeyboardNavigation) {
+		this.disableKeyboardNavigation = disableKeyboardNavigation;
+	}
 }

Modified: trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp	2009-01-06 17:22:12 UTC (rev 12140)
+++ trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp	2009-01-06 17:24:58 UTC (rev 12141)
@@ -55,7 +55,8 @@
 				onmousedown="#{event.onmousedown}"
 				onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
 				onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
-				onselected="#{event.onselected}">
+				onselected="#{event.onselected}"
+				disableKeyboardNavigation="#{tTree.disableKeyboardNavigation}">
 
 				<rich:treeNode type="input">
 					<h:outputText value="#{defTree} : " />
@@ -90,6 +91,10 @@
 				<h:outputText value="rendered:" />
 				<h:selectBooleanCheckbox value="#{tTree.rendered}"
 					onchange="submit();" />
+					
+				<h:outputText value="disableKeyboardNavigation:" />
+				<h:selectBooleanCheckbox value="#{tTree.disableKeyboardNavigation}"
+					onchange="submit();" />
 
 				<h:outputText value="showConnectingLines:" />
 				<h:selectBooleanCheckbox value="#{tTree.showConnectingLines}"




More information about the richfaces-svn-commits mailing list