[
https://issues.apache.org/struts/browse/WW-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
S.Anbuvel updated WW-2516:
--------------------------
Description:
The code i used for cancel is:
<s:submit key="button.cancel" name="redirect-action:billProcesslist"
theme="simple" onclick="form.onsubmit=null"/>
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.
was:
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.
> 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 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.