Author: nbelaevski
Date: 2008-12-06 13:19:44 -0500 (Sat, 06 Dec 2008)
New Revision: 11603
Modified:
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
Log:
https://jira.jboss.org/jira/browse/RF-2977
Modified:
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
===================================================================
---
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2008-12-06
07:31:55 UTC (rev 11602)
+++
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2008-12-06
18:19:44 UTC (rev 11603)
@@ -121,6 +121,7 @@
Object key = table.getRowKey();
table.captureOrigValue(context);
table.setRowKey(context, null);
+ encodeCaption(context, table);
int columns = getColumnsCount(table);
// Encode colgroup definition.
writer.startElement("colgroup", table);
@@ -138,7 +139,6 @@
}
}
writer.endElement("colgroup");
- encodeCaption(context, table);
encodeHeader(context, table, columns);
encodeFooter(context, table, columns);
table.setRowKey(context,key);