Author: konstantin.mishin
Date: 2007-08-28 06:35:49 -0400 (Tue, 28 Aug 2007)
New Revision: 2526
Modified:
trunk/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx
Log:
RF-733
Modified:
trunk/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss
===================================================================
---
trunk/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss 2007-08-28
10:21:41 UTC (rev 2525)
+++
trunk/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss 2007-08-28
10:35:49 UTC (rev 2526)
@@ -94,7 +94,6 @@
* Header cell body
*/
.dr-sdt-hcbody {
- cursor: default;
white-space: nowrap;
position: relative;
display: block;
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-08-28
10:21:41 UTC (rev 2525)
+++
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx 2007-08-28
10:35:49 UTC (rev 2526)
@@ -14,6 +14,15 @@
<th class="dr-sdt-hc rich-sdt-header-cell #{headerColumnClass}"
id="#{client_id}:hc_#{cell_index}" columnIndex="#{cell_index}"
sortable="#{component.attributes['sortable']}">
+ <jsp:scriptlet>
+
+ if(Boolean.TRUE.equals(component.getAttributes().get("sortable"))) {
+ getUtils().writeAttribute(writer, "style", "cursor:pointer" );
+
+ }
+
+ </jsp:scriptlet>
+
<vcp:body/>
<jsp:scriptlet>
Show replies by date