In t:dataTable the commandLink row action calling mutiple times
---------------------------------------------------------------
Key: TOMAHAWK-587
URL: http://issues.apache.org/jira/browse/TOMAHAWK-587
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Extended Datatable
Affects Versions: 1.1.1
Reporter: Sai Shiva Prasad B.
Fix For: 1.1.1
I am using t:dataTable where I need to use row action ,I am using commandLink
for row action.When I am clicking on a row it is calling the action multiple
times depends on the no of rows in the dataTable. Here the sample code for it.
<t:dataTable border="0" cellpadding="2" cellspacing="0"
columnClasses="list-column-center" headerClass="tableHead"
rowClasses="row_alt,row" styleClass="dataTable" id="table1"
width="100%" value="#{MemberInquiryPageBean.dataTableList}"
var="val">
<t:column id="MemberID">
<f:facet name="header">
<h:outputText id="lebelmemberID"
value="#{msg['list.memberinquiry.memberID']}" />
</f:facet>
<h:commandLink id="editLink"
action="#{MemberInquiryPageBean.getMemberDetail}">
<h:outputText value="#{val.memberID}" />
<f:param name="id" value="#{val.systemID}" />
</h:commandLink>
</t:column>
</t:dataTable>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira