i have a strange Problem with instant row selection.
I have a <p:commandButton> witch eneable/disable rendering for a <h:form>.
in this <h:form> i have a <p:dataTable> with instant row selection witch calls a <p:dialog> with further informations about the data...
whenever i disable/eneable the <h:form> (with the <p:commandButton>) the p:dialog is displayed once more if select a row.
Code: Select all
<p:commandButton id="Overview" update="overview555" actionListener="#{navigationBean.navigate('OVERVIEW')}" value="Overview"/>
<p:commandButton id="Overview" update="overview555" actionListener="#{navigationBean.navigate('DATA')}" value="Data"/>
<h:form id="overview555">
<h:form rendered="#{navigationBean.isView('DATA')}">
<p:dataTable var="data1" value="#{bean.informations}"
selection="#{bean.selectedData}" selectionMode="single"
onRowSelectUpdate="display1" onRowSelectComplete="fdDialog.show()">
...
</p:dataTable>
<p:dialog header="Further Data" widgetVar="fdDialog" resizable="false"
width="500" showEffect="drop" hideEffect="drop">
<p:dataTable var="data" value="#{bean.furhterData}" id="display1">
...
</p:dataTable>
<p:dialog header>
</h:form>
</h:form>