<h:commandLink> with "onclick" method causes action not to be fired
-------------------------------------------------------------------

                 Key: MYFACES-1867
                 URL: https://issues.apache.org/jira/browse/MYFACES-1867
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 1.2.2
            Reporter: Guy Bashan


This code:
                <t:commandLink immediate="true" 
onclick="document.getElementById('costModel').value = 'cpd';"
                               action="#{cmp_delivery.changeCostModelAction}"
                               
rendered="#{cmp_delivery.cmpCampaign.cmpCost.sysCostModel.value != 'cpd'}">
                  <h:graphicImage url="images/icon/i_cpd.gif"/>
                </t:commandLink>
causes the action: changeCostModelAction not to be activated on server side.

When removing onclick event all works fine.

Same problem happens with: <t:commandLink>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to