Hi
I am using primefaces 3.0.M1 and Glassfish3.1.
When I try to put a command button inside a datatable, this commandbutton runs many times depending on the index of the collections of data of this datatable.
Here is my code:
<p tabview widgetVar="reportTabView" id="">
. . .
<p tab title="report">
<p:dataTable id="reportTable"
value="#{tenure.reportList}"
var="report"
rowIndexVar="reportIndex"
>
. . .
<p:column>
. . .
<p:commandButton id="toggleReportDetailseCommandButton"
actionListener="#{bean.showReportDetails}"
onclick="reportTabView.selectTab(2)">
<f:param value="#{reportIndex}"
name="reportIndex"/>
</p:commandButton>
. . .
Anyone got the same problem?
Cheers
CommandButton inside datatable runs many times
-
- Information
-
Who is online
Users browsing this forum: No registered users and 50 guests