[ http://mc4j.org/jira/browse/STS-261?page=comments#action_11004 ] 
            
Phil Sladen commented on STS-261:
---------------------------------

Surely you mean the 'maxsize' attribute. If there is a maximum length 
constraint in a validator it should override the 'maxsize' attribute. The 
'length' attribute is used for formatting in the page and you'll most likely 
want your fields to line up nicely by only specifying it in the tag.

> Tag should be able to set attributes like length="" automatically based on 
> validation metadata
> ----------------------------------------------------------------------------------------------
>
>                 Key: STS-261
>                 URL: http://mc4j.org/jira/browse/STS-261
>             Project: Stripes
>          Issue Type: Improvement
>          Components: Tag Library
>            Reporter: Tim Fennell
>         Assigned To: Tim Fennell
>             Fix For: Release 1.5
>
>
> If a field has a maximum length constraint, it should be possible for Stripes 
> text/password (and other?) tags to fetch that information and render their 
> own length property.
> There are probably also other tags/attributes that could benefit from this.
> Depends on STS-260. Perhaps this could be done using a TagRenderer once 
> STS-47 is implemented.

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

        

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to