You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Philip Luppens (JIRA)" <ji...@apache.org> on 2008/02/27 13:59:07 UTC

[jira] Closed: (WW-2516) cancel button is not working in Mozilla if i do validation.

     [ https://issues.apache.org/struts/browse/WW-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philip Luppens closed WW-2516.
------------------------------

    Resolution: Not A Problem

Once again, ask questions on the user mailing list.

> cancel button is not working in Mozilla if i do validation.
> -----------------------------------------------------------
>
>                 Key: WW-2516
>                 URL: https://issues.apache.org/struts/browse/WW-2516
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.11
>         Environment: struts 2.0, spring, hibernate
>            Reporter: S.Anbuvel
>
> The code i used for cancel is:
> <s:submit  key="button.cancel" name="redirect-action:billProcesslist" theme="simple" onclick="form.onsubmit=null"/>
> In the cancel i specfied onsubmit=null, so it should not call validation.
> in IE browser onclick of cancel button its redirecting to the action i specified.
> But with Mozilla browser: on click of cancel it is calling validation & gives validation errors.
> If i press the cancel button 2nd time then only it is redirecting to the action i specified.

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