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 2005/06/10 08:34:22 UTC

DO NOT REPLY [Bug 35306] New: - [Shale] taglib source code typos

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: youngwr@gmail.com


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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org