You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2001/11/21 17:20:53 UTC

DO NOT REPLY [Bug 5002] New: - Add a "format" attribute to

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=5002>.
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=5002

Add a "format" attribute to <bean:write/>

           Summary: Add a "format" attribute to <bean:write/>
           Product: Struts
           Version: 1.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: mancarella@opoipi.bancaintesa.it


I think that the <bean:write/> tag could support a "format" attribute which
looks for an instance of java.text.Format to use for formatting the bean or bean
property to be written out.
This would simplify formatting of values, without the need of other custom tags.
The scope to search the Format into could be specified with another attribute
(f.e. "formatScope").

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>