This was the original code generated by seam-gen (2.2.0)
<h:column>
<f:facet name="header">
<ui:include src="/layout/sort.xhtml">
<ui:param name="entityList" value="#{userList}"/>
<ui:param name="propertyLabel" value="Name"/>
<ui:param name="propertyPath" value="user.name"/>
</ui:include>
</f:facet>
<h:outputText value="#{_user.name}"/>
</h:column>
We liked the sorting capabilities and hence we included rich:column sortBy, but sorting is incorrect (across paginated pages it lost the sorting capability, since the sorting parameters were not sent on page navigation), if we don't use /layout/sort.xhtml inside f:facet.
<rich:column sortBy="#{_user.name}">
<f:facet name="header">Name</f:facet>
<h:outputText value="#{_user.name}"/>
</rich:column>
How do we get the same functionality as before using rich:column sortBy