[richfaces-svn-commits] JBoss Rich Faces SVN: r14494 - in branches/community/3.3.X/ui/tree/src/main: templates and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Jun 4 11:41:52 EDT 2009


Author: amarkhel
Date: 2009-06-04 11:41:52 -0400 (Thu, 04 Jun 2009)
New Revision: 14494

Modified:
   branches/community/3.3.X/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java
   branches/community/3.3.X/ui/tree/src/main/templates/htmlTreeNode.jspx
Log:
Fix RF-7227

Modified: branches/community/3.3.X/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java
===================================================================
--- branches/community/3.3.X/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java	2009-06-04 15:41:46 UTC (rev 14493)
+++ branches/community/3.3.X/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java	2009-06-04 15:41:52 UTC (rev 14494)
@@ -547,6 +547,7 @@
 		writer.writeAttribute("type", "hidden", null);
 		String selectionHolderInputId = tree.getSelectionStateInputName(context);
 		writer.writeAttribute("id", selectionHolderInputId, null);
+		writer.writeAttribute(HTML.autocomplete_ATTRIBUTE, "off", null);
 		writer.writeAttribute("name", selectionHolderInputId, null);
 
 		writer.writeAttribute("value", getSelectionValue(context, tree), null);

Modified: branches/community/3.3.X/ui/tree/src/main/templates/htmlTreeNode.jspx
===================================================================
--- branches/community/3.3.X/ui/tree/src/main/templates/htmlTreeNode.jspx	2009-06-04 15:41:46 UTC (rev 14493)
+++ branches/community/3.3.X/ui/tree/src/main/templates/htmlTreeNode.jspx	2009-06-04 15:41:52 UTC (rev 14494)
@@ -141,7 +141,7 @@
 						if (org.richfaces.component.UITree.SWITCH_CLIENT.equals(component.getUITree().getSwitchType())) {
 					]]>
 				</jsp:scriptlet>
-							<input class="rich-tree-h" type="hidden" id="#{clientId}NodeExpanded" name="#{clientId}NodeExpanded" value="#{this:getExpandedValue(context,component)}" />
+							<input autocomplete="off" class="rich-tree-h" type="hidden" id="#{clientId}NodeExpanded" name="#{clientId}NodeExpanded" value="#{this:getExpandedValue(context,component)}" />
 				<jsp:scriptlet>
 					<![CDATA[
 						}




More information about the richfaces-svn-commits mailing list