Author: amarkhel
Date: 2009-06-04 11:46:10 -0400 (Thu, 04 Jun 2009)
New Revision: 14503
Modified:
branches/community/3.3.X/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java
branches/community/3.3.X/ui/pickList/src/main/templates/htmlPickList.jspx
Log:
Fix RF-7227
Modified:
branches/community/3.3.X/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java
===================================================================
---
branches/community/3.3.X/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java 2009-06-04
15:46:04 UTC (rev 14502)
+++
branches/community/3.3.X/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java 2009-06-04
15:46:10 UTC (rev 14503)
@@ -385,6 +385,7 @@
writer.startElement(HTML.INPUT_ELEM, component);
writer.writeAttribute(HTML.TYPE_ATTR, HTML.INPUT_TYPE_HIDDEN, null);
+ writer.writeAttribute(HTML.autocomplete_ATTRIBUTE, "off", null);
writer.writeAttribute(HTML.NAME_ATTRIBUTE, id, null);
StringBuffer value = new StringBuffer();
@@ -433,6 +434,7 @@
writer.startElement(HTML.INPUT_ELEM, component);
writer.writeAttribute(HTML.TYPE_ATTR, "hidden", "type");
+ writer.writeAttribute(HTML.autocomplete_ATTRIBUTE, "off", null);
writer.writeAttribute(HTML.id_ATTRIBUTE, hiddenFieldCliendId, "id");
writer.writeAttribute("name", hiddenFieldCliendId, null);
Modified: branches/community/3.3.X/ui/pickList/src/main/templates/htmlPickList.jspx
===================================================================
--- branches/community/3.3.X/ui/pickList/src/main/templates/htmlPickList.jspx 2009-06-04
15:46:04 UTC (rev 14502)
+++ branches/community/3.3.X/ui/pickList/src/main/templates/htmlPickList.jspx 2009-06-04
15:46:10 UTC (rev 14503)
@@ -137,7 +137,7 @@
</td>
<td>
<div class="rich-picklist-target-items #{component.listClass}">
- <input type="hidden" value=":" style="display:
none;" name="#{baseClientId}" />
+ <input autocomplete="off" type="hidden" value=":"
style="display: none;" name="#{baseClientId}" />
<f:call name="encodeHiddenField" />
<input id="#{clientId}tlFocusKeeper" type="button"
value="" style="width: 1px; position: absolute; left: -32767px;"/>