Are you using the RI?  If so this is a known issue.  You'll have to upgrade to 
the latest RI or get a different impl.

Dennis Byrne

>-----Original Message-----
>From: Fernando Madruga Pinheiro [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 17, 2006 01:09 PM
>To: 'MyFaces Discussion'
>Subject: Action event being fired more than once
>
>Hi,
>
>I'm very confused about this error and did a search on google but no one
>appears to have the same problem. BTW, I even don't know the exactly
>keywords to do this search...
>
>I have a large dataTable, which has N columns.
>The rows are the products and the columns are regions or sellers.
>
>So, for each product and region/seller I have a total of sold items.
>
>This is working now this way:
>
><t:dataTable value="#{manager.productList}" var="product"
>binding="#{manager.productBinding}">
>    <t:column>
>        <f:facet name="header">
>            <t:outputText value="Product"/>
>        </f:facet>
>        <t:outputText value="#{product.description}"/>
>    </t:column>
>    <t:columns value="#{manager.infoList}" var="info"
>binding="#{manager.infoBinding}">
>        <f:facet name="header">
>            <t:commandLink value="#{info.description}"
>action="#{info.showReport}" rendered="#{info.hasLink}"/>
>            <t:outputText value="#{info.description}"
>rendered="#{!info.hasLink}"/>
>        </f:facet>
>        <t:outputText value="#{manager.soldItems}"/>
>    </t:columns>
></t:dataTable>
>
>So, in manager I have a method called getSoldItems that gets the two
>bindings and returns the value.
>The infoList is a list of abstract class Info. Depending on user choice,
>we create InfoRegion or InfoSeller. The hasLink indicates that we need
>to create a link to change the view or not.
>The page is being generated OK, very fast (although I don't know if
>there is a better way to do this).
>
>The problem is that when you have a region in header (showing a link):
>when you click on any of them, all get clicked too in sequence.
>
>Anyone knows why or how to solve?
>
>Thanks,
>


Reply via email to