Não estou conseguindo utilizar arrumar o componente <p:ajax> nem o <f:ajax> está dando o seguinte erro no browser:
<f:ajax> Unable to attach <f:ajax> to non-ClientBehaviorHolder parent
e
<p:ajax> Parent not an instance of ClientBehaviorHolder
<p:dataTable var="modulo" value="#{moduloBean.listModulos}" paginator="true"
rows="2" selectionMode="single" style="width: 500px"
selection="#{moduloBean.moduloSistema}">
<f:facet name="header">
Lista de Módulos
</f:facet>
<p:ajax event="rowSelect" oncomplete="modelDialog.show()" update=":form:modelDialog" />
<p:column sortBy="#{modulo.msCodigo}" filterBy="#{modulo.msCodigo}" style="width: 60px">
<f:facet name="header">
<h:outputText value="Código" />
</f:facet>
<h:outputText value="#{modulo.msCodigo}" />
</p:column>
<p:column sortBy="#{modulo.msDescricao}" filterBy="#{modulo.msDescricao}">
<f:facet name="header">
<h:outputText value="Código" />
</f:facet>
<h:outputText value="#{modulo.msDescricao}" />
</p:column>
</p:dataTable>