This is not a duplicate, I just did a study, but did not help.
Firstly, this is my page ... simplified for easy reading.
<h:form id="treeForm">
<f:event type="preRenderView" listener="#{taskTreeBean.update}" />
<rich:tree id="tree" nodeType="#{node.type}" var="node"
value="#{taskTreeBean.rootNodes}" toggleType="client"
selectionType="ajax"
render="@all"
selectionChangeListener="#{taskTreeBean.selectionChanged}">
<rich:treeNode>
...
</rich:treeNode>
</rich:tree>
</h:form>
<h:form id="taskListTableForm">
<rich:dataTable id="taskListTable" styleClass="tasklist" keepSaved="true" value="#{taskListModel}" var="task"
rowClasses="odd-row, even-row" rows="3">
<rich:column>
...
</rich:column>
<f:facet name="footer">
<rich:dataScroller id="scroller" for="taskListTable" />
</f:facet>
</rich:dataTable>
</h:form>
When I click on any node tree, the form of the task list will be displayed, but the view state will be displayed, which makes the dataScroller for two clicks on the next / previous page, since the first click returns the ViewState Value.
I checked JIRA here - http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-790 .
I tried render = "@all" or render = "treeForm, taskListTableForm", both failed. I can't wait for mojarra to release 2.2. So is there any workaround here?
Many thanks. JIRA is too hard to understand.
:. : 1 2 dataTable, node. ?