You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Craig McClanahan (JIRA)" <ji...@apache.org> on 2006/04/26 08:14:53 UTC

[jira] Moved: (SHALE-106) [Shale] taglib source code typos

     [ 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