[ 
https://issues.apache.org/jira/browse/MYFACES-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590824#action_12590824
 ] 

Leonardo Uribe commented on MYFACES-1867:
-----------------------------------------

Yes, this was fixed for 1.2.3-SNAPSHOT (1.2.2 has the error)

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