Author: amarkhel
Date: 2009-06-04 11:41:41 -0400 (Thu, 04 Jun 2009)
New Revision: 14492
Modified:
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/SelectionRendererContributor.java
branches/community/3.3.X/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
Log:
Fix RF-7227
Modified:
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java
===================================================================
---
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java 2009-06-04
15:41:33 UTC (rev 14491)
+++
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java 2009-06-04
15:41:41 UTC (rev 14492)
@@ -807,6 +807,7 @@
String id = client_id+"_rows_input";
writer.startElement(HTML.INPUT_ELEM, grid);
writer.writeAttribute(HTML.TYPE_ATTR, "hidden", null);
+ writer.writeAttribute(HTML.autocomplete_ATTRIBUTE, "off", null);
writer.writeAttribute(HTML.id_ATTRIBUTE, id, null);
writer.writeAttribute(HTML.NAME_ATTRIBUTE, id, null);
writer.writeAttribute(HTML.value_ATTRIBUTE, grid.getRowCount(), null);
Modified:
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/SelectionRendererContributor.java
===================================================================
---
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/SelectionRendererContributor.java 2009-06-04
15:41:33 UTC (rev 14491)
+++
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/SelectionRendererContributor.java 2009-06-04
15:41:41 UTC (rev 14492)
@@ -286,6 +286,7 @@
writer.startElement(HTML.INPUT_ELEM, grid);
writer.writeAttribute(HTML.TYPE_ATTR, "hidden", null);
writer.writeAttribute(HTML.id_ATTRIBUTE, id, null);
+ writer.writeAttribute(HTML.autocomplete_ATTRIBUTE, "off", null);
writer.writeAttribute(HTML.NAME_ATTRIBUTE, id, null);
writer.writeAttribute(HTML.value_ATTRIBUTE, string, null);
writer.endElement(HTML.INPUT_ELEM);
Modified:
branches/community/3.3.X/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
===================================================================
---
branches/community/3.3.X/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2009-06-04
15:41:33 UTC (rev 14491)
+++
branches/community/3.3.X/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2009-06-04
15:41:41 UTC (rev 14492)
@@ -198,10 +198,10 @@
</div>
</div>
- <input type="hidden" name="#{clientId}_hc"
id="#{clientId}_hc"/>
- <input type="hidden" name="#{clientId}_state_input"
id="#{clientId}_state_input"/>
- <input type="hidden" name="#{clientId}_options_input"
id="#{clientId}_options_input"/>
- <input type="hidden" name="#{clienId}_rows_input"
id="#{clientId}_rows_input" value="#{rows_count}"/>
+ <input autocomplete="off" type="hidden"
name="#{clientId}_hc" id="#{clientId}_hc"/>
+ <input autocomplete="off" type="hidden"
name="#{clientId}_state_input" id="#{clientId}_state_input"/>
+ <input autocomplete="off" type="hidden"
name="#{clientId}_options_input" id="#{clientId}_options_input"/>
+ <input autocomplete="off" type="hidden"
name="#{clienId}_rows_input" id="#{clientId}_rows_input"
value="#{rows_count}"/>
<input type="button" name="#{clientId}_submit_input"
id="#{clientId}_submit_input"
onclick="#{this:getRowsAjaxUpdate(context,component)}"
style="display:none"/>
<jsp:scriptlet>
<![CDATA[
Show replies by date