[ 
http://www.stripesframework.org/jira/browse/STS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter resolved STS-585.
----------------------------

       Resolution: Fixed
    Fix Version/s: Release 1.5

The fix for STS-475 changed setMaxlength(..) so that it does not call 
set("maxlength", ..) itself so subclasses must do so to make sure the maxlength 
attribute gets written. I added getEffectiveMaxlength() that returns the 
appropriate value based on specified attributes and validation metadata.

> maxlength attribute is never rendered for stripes:password tag
> --------------------------------------------------------------
>
>                 Key: STS-585
>                 URL: http://www.stripesframework.org/jira/browse/STS-585
>             Project: Stripes
>          Issue Type: Bug
>          Components: Tag Library
>    Affects Versions: Release 1.5
>         Environment: Mac OS X 10.5.3, Java 1.5.0_13-b05-237
>            Reporter: Iwao AVE!
>            Assignee: Ben Gunter
>             Fix For: Release 1.5
>
>
> If I understand correctly, the maxlength attribute should be rendered when 
> 'maxlength' is specified in @Validate annotation.
> It works for stripes:text tag, but not for stripes:password tag.
> And even if I write maxlength attribute directly in the stripes:password tag, 
> it is removed in the generated html source.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to