You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Sai Shiva Prasad B. (JIRA)" <de...@myfaces.apache.org> on 2006/08/09 09:23:13 UTC

[jira] Created: (TOMAHAWK-587) In t:dataTable the commandLink row action calling mutiple times

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

        

[jira] Commented: (TOMAHAWK-587) In t:dataTable the commandLink row action calling mutiple times

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-587?page=comments#action_12426924 ] 
            
Mike Kienenberger commented on TOMAHAWK-587:
--------------------------------------------

Can you reproduce this under either 1.1.3 or newer?   I don't think anyone is going to investigate 1.1.1 problems when we're not having any issues in newer versions.

> 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.
>
> 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