Author: alexsmirnov
Date: 2007-05-04 14:36:49 -0400 (Fri, 04 May 2007)
New Revision: 653
Modified:
trunk/richfaces/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
Log:
Fix RF-149 ( render in the riich:dataTable 'header' & 'footer' facets
for a h:column )
Modified:
trunk/richfaces/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
===================================================================
---
trunk/richfaces/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2007-05-04
13:53:01 UTC (rev 652)
+++
trunk/richfaces/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2007-05-04
18:36:49 UTC (rev 653)
@@ -292,7 +292,7 @@
public boolean evaluate(Object input) {
UIComponent component = (UIComponent) input;
// accept only columns with corresponding facets.
- if (component instanceof Column) {
+ if (component instanceof Column || component instanceof UIColumn) {
return component.isRendered()&&(component.getFacet(name) != null);
}
else{
Show replies by date