You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Guy Bashan (JIRA)" <de...@myfaces.apache.org> on 2008/04/21 03:10:23 UTC
[jira] Issue Comment Edited: (MYFACES-1867) with
"onclick" method causes action not to be fired
[ https://issues.apache.org/jira/browse/MYFACES-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590823#action_12590823 ]
bashan edited comment on MYFACES-1867 at 4/20/08 6:09 PM:
--------------------------------------------------------------
Are you sure? I am using the latest release (1.2.2).
was (Author: bashan):
Are you sure? I am using the latest reales (1.2.2).
> <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.