I've just upgrade from 2.0.2 to 2.1.RC1. The first I noticed that onselectComplete does not work!
Below the code example that worked for 2.0.2 and does not for 2.1.RC1
Code: Select all
<h:form prependId="false" styleClass="jsfcrud_list_form">
<h:panelGroup id="users">
<p:dialog id="OPR" widgetVar="operate" height="100" header="#{oTUserController.selectedUser.uidName}">
<p:outputPanel >
<h:outputText value="#{oTUserController.selectedUser.firstName}
<p />
<h:commandButton action="#{oTUserController.prepareEdit}" value="#{bundle.Dialog_Edit}"/>
</p:outputPanel>
</p:dialog>
<p:dataTable value="#{oTUserController.items}" var="item" paginator="true" rows="#{bundle.Config_Row_Number}"
selection="#{oTUserController.selectedUser}" selectionMode="single"
update="OPR" onselectComplete="operate.show()">
<p:column sortBy="#{item.uidName}">
<f:facet name="header">
<h:outputText value="#{bundle.ListOTUserTitle_uidName}"/>
</f:facet>
<h:outputText value="#{item.uidName}"/>
</p:column>
.....
</p:dataTable>
</h:panelGroup>
</h:form>