You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Updated) (JIRA)" <ji...@apache.org> on 2011/12/06 11:13:40 UTC

[jira] [Updated] (WW-2411) Add a maxlength attribute to the textarea tag

     [ https://issues.apache.org/jira/browse/WW-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-2411:
------------------------------

    Fix Version/s:     (was: Future)
                   3.x
    
> Add a maxlength attribute to the textarea tag
> ---------------------------------------------
>
>                 Key: WW-2411
>                 URL: https://issues.apache.org/jira/browse/WW-2411
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tags
>    Affects Versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11
>            Reporter: Mark Lewis
>            Priority: Minor
>             Fix For: 3.x
>
>
> This is an easy one.  The maxlength attribute already exists for the s:textfield tag (which directly corresponds to the maxlength attribute of the HTML input tag).  A bit of javascript can easily place a character limit on an HTML textarea element, and this could be controlled by adding an attribute to the s:textarea tag.
> Certain themes could also display the number of characters remaining in a separate element or tooltip.
> Probably affects versions beyond those listed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira