[ https://issues.apache.org/jira/browse/MYFACES-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591091#action_12591091 ]
Leonardo Uribe commented on MYFACES-1867: ----------------------------------------- You can find the latest snapshot of myfaces here http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/core/ > <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.