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=22121>. 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=22121 required validator doesn't work with String[] (multi-selects) [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|commons- |[EMAIL PROTECTED] |[EMAIL PROTECTED] | Summary|[patch] The "required" |required validator doesn't |validator doesn't work with |work with String[] (multi- |String[] (multi-selects) |selects) ------- Additional Comments From [EMAIL PROTECTED] 2003-08-15 16:31 ------- I just ran into this problem as well and will commit a variation on the suggested approach soon. I think we should check for Collection and String[] (let's refer to these collectively as the "list"). If the list is empty we return "", else we return list.toString(). This way we'll only be returning null when there's an error retrieving the property. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]