Ted Goddard says:
Apparently we're not going to replace tfoot or thead
http://msdn.microsoft.com/en-us/library/ms533897(VS.85).aspx
The property is read/write for all objects except the following, for which it is read-only: COL, COLGROUP,FRAMESET, HEAD, HTML, STYLE, TABLE, TBODY, TFOOT, THEAD, TITLE, TR. The property has no default value.
Here's the trick we use to update tables in element.js:
This.TableCellElement = This.Element.subclass({
replaceHtml: function(html) {
this.withTemporaryContainer(function(container) {
container.innerHTML = '<TABLE>' + html + '</TABLE>';
var newElement = container.firstChild;
while ((null != newElement) && (this.element.id != newElement.id))
{
newElement = newElement.firstChild;
}
this.disconnectEventListeners();
this.replaceHostElementWith(newElement);
});
}
});
We may be able to do something similar with tfoot and thead.
Or, it may be easier to ensure in the application that contents of
the tfoot being updated have IDs within the table cells.
Fixed:
Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\renderkit\TableRenderer.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\renderkit\TableRenderer.java
Completed: At revision: 19221