You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/10 20:48:36 UTC

DO NOT REPLY [Bug 21475] New: - Disabled form elements fail validate()

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=21475>.
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=21475

Disabled form elements fail validate()

           Summary: Disabled form elements fail validate()
           Product: Struts
           Version: 1.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: dirk.sturzebecher@ovsag.de


Form elements which are disabled are not set before validation starts resulting 
in a validation error.

I have a form with all elements disabled as a default. On submit I use both the 
validator framework and the validate() methode in the form itself (only server 
side, no client side validation). All disabled elements contain valid data. 
Validation fails as the data in the form is not set. It seams disabled elements 
are not updated (copied into the form from the request).

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org