struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig McClanahan (JIRA)" <j...@apache.org>
Subject [jira] Moved: (SHALE-106) [Shale] taglib source code typos
Date Wed, 26 Apr 2006 06:14:53 GMT
     [ http://issues.apache.org/struts/browse/SHALE-106?page=all ]

Craig McClanahan moved STR-2497 to SHALE-106:
---------------------------------------------

      Project: Shale  (was: Struts Action 1)
          Key: SHALE-106  (was: STR-2497)
    Component:     (was: Shale)
      Version:     (was: Unknown)
    Assign To:     (was: Struts Developer Mailing List)

> [Shale] taglib source code typos
> --------------------------------
>
>          Key: SHALE-106
>          URL: http://issues.apache.org/struts/browse/SHALE-106
>      Project: Shale
>         Type: Bug

>  Environment: Operating System: other
> Platform: Other
>     Reporter: Bill Young

>
> 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>"

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


Mime
View raw message