DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26678>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26678

<html:text> tag must support formatting (format and formatKey attributes)

           Summary: <html:text> tag must support formatting (format and
                    formatKey attributes)
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi, guys,

I believe, that <html:text> tag (and corresponding <nested:text) must support 
the same way of formatting of values as <bean:write> does.

That's necessary if you use 
Integer, BigDecimal etc properties in your form. It's disputable if it's a good 
technique or not, 
but to be consistent <html:text> should be able to format values using provided format 
strings 
(or using default resourse bundle keys like 
"org.apache.struts.taglib.bean.format.int").

So, in other words, it'd be possible to 
use construction like this <nested:text property="age" format="#,##0"/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to