s:submit with ajax theme inside a form do not wait for return value of onclick 
before invoking the action
---------------------------------------------------------------------------------------------------------

                 Key: WW-2099
                 URL: https://issues.apache.org/struts/browse/WW-2099
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.6
            Reporter: santosh yadav


Hi,

I am not sure whether this is an expected behaviour or not. Please let me try 
to put the issue.

I have to do javascript validations on form elements before they are submitted 
to the action specified on s:submit with ajax theme.
But it looks like, action is invoked passing the form elements without waiting 
for return value from javascript function assigned to onclick event.

Highly appreciate help/suggestions, Thanks!



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