You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Beppe Catanese (JIRA)" <ji...@apache.org> on 2009/04/15 13:56:07 UTC

[jira] Created: (WW-3088) sx:submit losing the method if ajaxAfterValidation=false

sx:submit losing the method if ajaxAfterValidation=false
--------------------------------------------------------

                 Key: WW-3088
                 URL: https://issues.apache.org/struts/browse/WW-3088
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Dojo Tags
    Affects Versions: 2.1.6
         Environment: Tomcat 5.5.27 on WindowsXP professional
            Reporter: Beppe Catanese


I am using the following
<sx:submit method="create" 
key="form.button.save" 
cssClass="primarySubmitButton"
validate="true" />

to perform Ajax validation when submitting the form. I omit the ajaxAfterValidation attribute (ie. ajaxAfterValidation = false).
If the Ajax validation succeeds the form is submitted but the method (ie. create) is lost, therefore the default execute() method in the action is invoked. 



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