Author: konstantin.mishin
Date: 2010-05-31 11:00:48 -0400 (Mon, 31 May 2010)
New Revision: 17419
Modified:
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/ExtendedDataTableRenderer.java
Log:
RF-8708
Modified:
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/ExtendedDataTableRenderer.java
===================================================================
---
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/ExtendedDataTableRenderer.java 2010-05-31
14:56:46 UTC (rev 17418)
+++
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/ExtendedDataTableRenderer.java 2010-05-31
15:00:48 UTC (rev 17419)
@@ -308,6 +308,7 @@
}
}
writer.endElement(HTML.TR_ELEMENT);
+ writer.endElement(HTML.TBODY_ELEMENT);
writer.endElement(HTML.TABLE_ELEMENT);
writer.endElement(HTML.DIV_ELEM);
}
@@ -370,6 +371,7 @@
writer.startElement(HTML.TABLE_ELEMENT, table);
writer.writeAttribute(HTML.CELLPADDING_ATTRIBUTE, "0", null);
writer.writeAttribute(HTML.CELLSPACING_ATTRIBUTE, "0", null);
+ writer.startElement(HTML.TBODY_ELEMENT, table);
writer.startElement(HTML.TR_ELEMENT, table);
for (state.startIterate(); state.hasNextPart();) {
writer.startElement(HTML.TD_ELEM, table);
@@ -576,8 +578,8 @@
table.captureOrigValue(context);
table.setRowKey(context, null);
RendererState state = createRowHolder(context, table);
+ encodeStyle(state);
encodeHeader(state);
- encodeStyle(state);
encodeBody(state);
encodeFooter(state);
table.setRowKey(context, key);