Author: abelevich
Date: 2007-06-29 11:44:15 -0400 (Fri, 29 Jun 2007)
New Revision: 1409
Modified:
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/renderkit/html/ScrollableGridBaseRenderer.java
Log:
fix footer rendering
Modified:
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/renderkit/html/ScrollableGridBaseRenderer.java
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/renderkit/html/ScrollableGridBaseRenderer.java 2007-06-29
15:05:21 UTC (rev 1408)
+++
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/renderkit/html/ScrollableGridBaseRenderer.java 2007-06-29
15:44:15 UTC (rev 1409)
@@ -141,13 +141,13 @@
variables.setVariable("client_id", client_id);
variables.setVariable("cell_index", new Integer(cell_index));
- footerCellTemplate.encodeBegin(context, column);
+
UIComponent component = column.getFacet(FOOTER_PART);
if(component != null){
+ footerCellTemplate.encodeBegin(context, column);
renderChild(context, component);
+ footerCellTemplate.encodeEnd(context, column);
}
- footerCellTemplate.encodeEnd(context, column);
-
}
};
Show replies by date