Author: konstantin.mishin
Date: 2007-10-24 09:40:52 -0400 (Wed, 24 Oct 2007)
New Revision: 3505
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-footer-cell.jspx
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
Log:
RF-1159
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java
===================================================================
---
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java 2007-10-24
13:24:11 UTC (rev 3504)
+++
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java 2007-10-24
13:40:52 UTC (rev 3505)
@@ -289,7 +289,10 @@
ColumnWalker.iterateOverColumns(context, grid, cellRenderer, writer, state);
if(!state.isFrozenPart()){
writer.startElement("td", grid);
- getUtils().writeAttribute(writer, "class","dr-sdt-bc rich-sdt-row
" + state.getColumnClass(state.getCellIndex()));
+ getUtils().writeAttribute(writer, "class","dr-sdt-bc
rich-sdt-column-cell " + state.getColumnClass(state.getCellIndex()));
+ writer.startElement(HTML.DIV_ELEM, grid);
+ getUtils().writeAttribute(writer, "class","dr-sdt-bcbody");
+ writer.endElement(HTML.DIV_ELEM);
writer.endElement("td");
}
writer.endElement(HTML.TR_ELEMENT);
Modified:
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-footer-cell.jspx
===================================================================
---
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-footer-cell.jspx 2007-10-24
13:24:11 UTC (rev 3504)
+++
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-footer-cell.jspx 2007-10-24
13:40:52 UTC (rev 3505)
@@ -12,11 +12,9 @@
<th class="dr-sdt-fc rich-sdt-footer-cell #{footerColumnClass}
#{footerColumnSortClass} #{component.attributes['footerClass']}">
- <span id="#{client_id}:fc_#{cell_index}"
class="dr-sdt-fcbody1">
- <span class="dr-sdt-fcbody">
- <vcp:body/>
- </span>
- </span>
+ <div id="#{client_id}:fc_#{cell_index}"
class="dr-sdt-fcbody1">
+ <vcp:body/>
+ </div>
</th>
</f:root>
\ No newline at end of file
Modified:
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
===================================================================
---
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2007-10-24
13:24:11 UTC (rev 3504)
+++
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2007-10-24
13:40:52 UTC (rev 3505)
@@ -128,7 +128,9 @@
renderHeaders(context, component, false);
]]>
</jsp:scriptlet>
- <th></th>
+ <th class="dr-sdt-hc rich-sdt-header-cell">
+ <div class="dr-sdt-hcbody" />
+ </th>
</tr>
</thead>
</table>
@@ -222,7 +224,9 @@
renderFooters(context, component,false);
]]>
</jsp:scriptlet>
- <th></th>
+ <th class="dr-sdt-fc rich-sdt-footer-cell">
+ <div class="dr-sdt-fcbody1" />
+ </th>
</tr>
</tfoot>
</table>