Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-587

In t:dataTable the commandLink row action calling mutiple times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.1
    • None
    • Extended Datatable
    • None

    Description

      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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            shivbee Sai Shiva Prasad B.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: