Author: abelevich
Date: 2010-05-31 12:26:03 -0400 (Mon, 31 May 2010)
New Revision: 17428
Modified:
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/component/UIDataTableBase.java
Log:
fix issue with empty footer cell if subTable has footer facet
Modified:
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/component/UIDataTableBase.java
===================================================================
---
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/component/UIDataTableBase.java 2010-05-31
16:12:01 UTC (rev 17427)
+++
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/component/UIDataTableBase.java 2010-05-31
16:26:03 UTC (rev 17428)
@@ -116,10 +116,12 @@
boolean result = false;
while (columns.hasNext() && !result) {
UIComponent component = columns.next();
- if (component.isRendered()) {
- UIComponent facet = component.getFacet(facetName);
- result = facet != null && facet.isRendered();
- }
+ if(component instanceof javax.faces.component.UIColumn){
+ if (component.isRendered()) {
+ UIComponent facet = component.getFacet(facetName);
+ result = facet != null && facet.isRendered();
+ }
+ }
}
return result;
}
Show replies by date