[richfaces-svn-commits] JBoss Rich Faces SVN: r3028 - in trunk/ui/scrollableDataTable/src/main: javascript/ClientUI/controls/grid and 1 other directories.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Sep 20 12:39:57 EDT 2007
Author: konstantin.mishin
Date: 2007-09-20 12:39:57 -0400 (Thu, 20 Sep 2007)
New Revision: 3028
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/convert/selection/ClientSelectionConverter.java
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx
Log:
RF-973
Modified: trunk/ui/scrollableDataTable/src/main/java/org/richfaces/convert/selection/ClientSelectionConverter.java
===================================================================
--- trunk/ui/scrollableDataTable/src/main/java/org/richfaces/convert/selection/ClientSelectionConverter.java 2007-09-20 16:34:39 UTC (rev 3027)
+++ trunk/ui/scrollableDataTable/src/main/java/org/richfaces/convert/selection/ClientSelectionConverter.java 2007-09-20 16:39:57 UTC (rev 3028)
@@ -68,7 +68,7 @@
String [] selections = stringSelection.split(";");
int length = selections.length;
- if (selections[length-1].length() == 1) {
+ if (selections[length-1].charAt(0) > '9') {
clientSelection.setSelectionFlag(selections[length-1]);
length--;
}
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-09-20 16:34:39 UTC (rev 3027)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-09-20 16:39:57 UTC (rev 3028)
@@ -411,7 +411,7 @@
}
if(el) {
- var index = parseInt(el.getAttribute("columnIndex"));
+ var index = parseInt(el.getAttribute("columnindex"));
if(index>=0) {
/*
var dir = this.getColumns()[index].sorted;
Modified: trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx
===================================================================
--- trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx 2007-09-20 16:34:39 UTC (rev 3027)
+++ trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx 2007-09-20 16:39:57 UTC (rev 3028)
@@ -12,7 +12,7 @@
component="javax.faces.component.UIComponent"
>
- <th class="dr-sdt-hc rich-sdt-header-cell #{headerColumnClass} #{headerColumnSortClass}" id="#{client_id}:hc_#{cell_index}" columnIndex="#{cell_index}" sortable="#{component.attributes['sortable']}">
+ <th class="dr-sdt-hc rich-sdt-header-cell #{headerColumnClass} #{headerColumnSortClass}" id="#{client_id}:hc_#{cell_index}" columnindex="#{cell_index}" sortable="#{component.attributes['sortable']}">
<jsp:scriptlet>
More information about the richfaces-svn-commits
mailing list