Author: maksimkaszynski
Date: 2008-03-29 09:48:02 -0400 (Sat, 29 Mar 2008)
New Revision: 7406
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java
Log:
http://jira.jboss.com/jira/browse/RF-1248
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java
===================================================================
---
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java 2008-03-29
13:17:32 UTC (rev 7405)
+++
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java 2008-03-29
13:48:02 UTC (rev 7406)
@@ -228,6 +228,8 @@
@SuppressWarnings("unchecked")
protected Iterator<UIComponent> dataChildren() {
IteratorChain chain = new IteratorChain();
+ //RF-1248 Adding facets to both dataChildren and fixed children
+ //To make both supports and header/footer work
chain.addIterator(getFacets().values().iterator());
for (Iterator<UIComponent> i = getChildren().iterator(); i.hasNext(); ) {
UIComponent kid = (UIComponent)i.next();
@@ -242,7 +244,8 @@
@SuppressWarnings("unchecked")
protected Iterator<UIComponent> fixedChildren() {
IteratorChain chain = new IteratorChain(getFacets().values().iterator());
- chain.addIterator(getFacets().values().iterator());
+ //RF-1248 Adding facets to both dataChildren and fixed children
+ //To make both supports and header/footer work
for (Iterator<UIComponent> i = getChildren().iterator(); i.hasNext(); ) {
UIComponent kid = (UIComponent)i.next();
if (kid instanceof Column || kid instanceof UIColumn) {