JBoss.orgCommunity Documentation
This chapter includes only those issues that concern migration from from 3.2.x versions to 3.3.0. Issues, that are related to the new components and other problems are not covered here. However, Jira contains all issues and if you can not find your case there, please, feel free to report it.
Any Ajax request reloads the list that is related to the <rich:dataTable> component even if the Ajax request is related to another bean.
It happens because the Ajax request checks whether the <rich:dataTable> has nested <rich:outputPanel> or <rich:messages> components that should be updated.
If there are no <rich:outputPanel>, <rich:messages> components inside the <rich:dataTable> will not be updated, but anyway the encode()
methods is called by the Ajax request.
Place the following code on a page and click the button. The list in myBean1.myList
will be reloaded.
...
<h:form id="form1">
<rich:dataTable id="myTable" value="#{myBean1.myList}" var="comp">
...
</rich:dataTable>
</h:form>
<h:form id="form2">
<h:outputText value="#{myBean2.test}"/>
<a4j:commandButton event="onclick" reRender="form2" />
</h:form>
...