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

PATCH: ValidatorUtils can't handle StringArrays

           Summary: PATCH: ValidatorUtils can't handle StringArrays
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


ValidatorUtils currently uses the property handed in from the field to 
retrieve the value to validate.  Alas, it doesn't work for an indexed string 
value as generated by Validator.  Luckily, validator hands the value in as a 
String on the bean property for indexed strings, so there's no need to look it 
up anyway.  Added test to see if the bean argument is a string or null (it's 
the form object if the call was made from a non-indexed value), and use the 
null or string value instead.

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

Reply via email to