DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22594>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22594

change html:submit

           Summary: change html:submit
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Currently if you are using DynaValidatorForm and you have multiple submit 
buttons on your page you must make them html:cancel to avoid validation.

Also, when doing this you cannot assign a property name to the button.

Would it not be better to modify the html:submit button to have an attribute 
such as:  validation="false" or something along those lines?

In this way you could have multiple submit buttons (not all of which are 
true "Cancel" buttons) work without always invoking validation.

As to the auto-creation of the property attribute so Struts can detect 
a "Cancel"...  could you not specific the name of the property in the struts-
config action definition via a new attribute?  You already have the input 
attribute for validation, why not inputValidationProperty or something like 
that?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to