[ http://issues.apache.org/struts/browse/STR-1987?page=all ] David Evans reopened STR-1987: ------------------------------
Assign To: David Evans (was: Struts Developer Mailing List) > Empty/NotEmpty tags to support testing arrays for emptiness > ----------------------------------------------------------- > > Key: STR-1987 > URL: http://issues.apache.org/struts/browse/STR-1987 > Project: Struts Action 1 > Type: Improvement > Components: Taglibs > Versions: 1.1 Final > Environment: Operating System: other > Platform: Other > Reporter: Graham Leggett > Assignee: David Evans > Priority: Minor > Attachments: empty.patch > > The current behaviour of Empty is to test a String for zero length, or a List > or a Map for isEmpty(). Arrays are not handled, and always return NotEmpty > whether empty or not. > This patch adds a test for arrays of length zero. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]