Author: konstantin.mishin
Date: 2008-06-09 06:57:06 -0400 (Mon, 09 Jun 2008)
New Revision: 8951
Modified:
trunk/ui/dataTable/src/main/config/component/dataTable.xml
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
Log:
RF-2815
Modified: trunk/ui/dataTable/src/main/config/component/dataTable.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/dataTable.xml 2008-06-09 10:36:07 UTC
(rev 8950)
+++ trunk/ui/dataTable/src/main/config/component/dataTable.xml 2008-06-09 10:57:06 UTC
(rev 8951)
@@ -187,6 +187,13 @@
<description>HTML: a script expression; a pointer is moved within of row
</description>
</property>
+
+ <property >
+ <name>reRender</name>
+ <classname>java.lang.Object</classname>
+ <description>Id['s] (in format of call UIComponent.findComponent()) of
components, rendered in case of AjaxRequest caused by this component. Can be single id,
comma-separated list of Id's, or EL Expression with array or
Collection</description>
+ </property>
+
<property>
<name>sortPriority</name>
<classname>java.util.Collection</classname>
Modified:
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
===================================================================
---
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2008-06-09
10:36:07 UTC (rev 8950)
+++
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2008-06-09
10:57:06 UTC (rev 8951)
@@ -515,9 +515,10 @@
}
}
- AjaxContext.getCurrentInstance()
- .addComponentToAjaxRender(component);
- AjaxContext.getCurrentInstance().addRenderedArea(clientId+ ":tb");
+ AjaxContext ajaxContext = AjaxContext.getCurrentInstance();
+ ajaxContext.addComponentToAjaxRender(component);
+ ajaxContext.addRenderedArea(clientId+ ":tb");
+ ajaxContext.addRegionsFromComponent(component);
}
}
Show replies by date