Author: konstantin.mishin
Date: 2011-04-26 11:33:37 -0400 (Tue, 26 Apr 2011)
New Revision: 22442
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
Log:
RF-10757
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
===================================================================
---
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2011-04-26
10:07:11 UTC (rev 22441)
+++
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2011-04-26
15:33:37 UTC (rev 22442)
@@ -234,7 +234,7 @@
throws IOException {
writer.startElement(HtmlConstants.TBODY_ELEMENT, dataTableBase);
- String clientId = (dataTableBase.getRelativeRowIndex() < 0) ?
dataTableBase.getContainerClientId(facesContext) :
dataTableBase.getRelativeClientId(facesContext);
+ String clientId = (dataTableBase.getRowKey() == null) ?
dataTableBase.getContainerClientId(facesContext) :
dataTableBase.getRelativeClientId(facesContext);
writer.writeAttribute(HtmlConstants.ID_ATTRIBUTE, clientId + ":tb",
null);
writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, getTableBodySkinClass(),
null);
Show replies by date