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

Musachy Barroso resolved WW-2625.
---------------------------------

    Resolution: Not A Problem

textfields renders an standard input field with type "text". None of this 
features can be added to textfield, unless it is in another theme, that 
supports at least javascript (and the Dojo theme is deprecated).

> new attributes maxWords and maxLength in s:textfield
> ----------------------------------------------------
>
>                 Key: WW-2625
>                 URL: https://issues.apache.org/struts/browse/WW-2625
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tags
>    Affects Versions: 2.1.2
>            Reporter: Pedro Herrera
>             Fix For: Future
>
>
> Improve attributes like displaytag tag in tag s:textfield  :
> maxLength :    If this attribute is provided, then the column's displayed is 
> limited to this number of characters. An elipse (...) is appended to the end 
> if this column is linked, and the user can mouseover the elipse to get the 
> full text. Be careful on using this attribute for String which can contain 
> html tags or entities, or together with the autolink attribute turned on: 
> displaytag will do its best trying to avoid leaving unclosed tags or broken 
> entities in the output, but a complex or bad input could lead to unattended 
> results.
> maxWords :     If this attribute is provided, then the column's displayed is 
> limited to this number of words. An elipse (...) is appended to the end if 
> this column is linked, and the user can mouseover the elipse to get the full 
> text. Be careful on using this attribute for String which can contain html 
> tags or entities, or together with the autolink attribute turned on: 
> displaytag will do its best trying to avoid leaving unclosed tags or broken 
> entities in the output, but a complex or bad input could lead to unattended 
> results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to