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

http://issues.apache.org/bugzilla/show_bug.cgi?id=35306

           Summary: [Shale] taglib source code typos
           Product: Struts
           Version: Unknown
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Shale
        AssignedTo: dev@struts.apache.org
        ReportedBy: [EMAIL PROTECTED]


I was having some exceptions from shale when trying to use minlength commons 
validator from the shale taglib.  I traced back the issue to the cause:

src/java/org/apache/shale/taglib/CommonsValidatorTag.java
line 223: typo: max is set to min
reads: validator.setMaxlength(tagUtils.evalInteger(minlength));
should be: validator.setMaxlength(tagUtils.evalInteger(maxlength));

While looking I also noticed this as well:
src/conf/taglib.tld
line 67: typo
reads: "<required>trie</required>"
should be: "<required>true</required>"

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to