Author: abelevich
Date: 2010-03-26 10:35:49 -0400 (Fri, 26 Mar 2010)
New Revision: 16673
Modified:
root/ui-sandbox/trunk/components/datascroller/ui/src/main/java/org/richfaces/component/UIDataScroller.java
Log:
add support for the PartiallyEncodedComponent
Modified:
root/ui-sandbox/trunk/components/datascroller/ui/src/main/java/org/richfaces/component/UIDataScroller.java
===================================================================
---
root/ui-sandbox/trunk/components/datascroller/ui/src/main/java/org/richfaces/component/UIDataScroller.java 2010-03-26
14:29:20 UTC (rev 16672)
+++
root/ui-sandbox/trunk/components/datascroller/ui/src/main/java/org/richfaces/component/UIDataScroller.java 2010-03-26
14:35:49 UTC (rev 16673)
@@ -91,11 +91,13 @@
facesContext.getPartialViewContext().getRenderIds().add(dataScrollerEvent.getComponent().getClientId(facesContext));
- String dataTableId = getDataTable().getClientId(facesContext);
-
+ UIComponent dataTable = getDataTable();
+ String dataTableId = dataTable.getClientId(facesContext);
+ if(dataTable instanceof PartiallyEncodedComponent) {
+ dataTableId += "@body";
+ }
+
facesContext.getPartialViewContext().getRenderIds().add(dataTableId);
- facesContext.getPartialViewContext().getExecuteIds().add(dataTableId);
-
}
}
Show replies by date