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=14150>. 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=14150 Allow <bean:write/> to use any subclass of java.text.Format Summary: Allow <bean:write/> to use any subclass of java.text.Format Product: Struts Version: 1.1 Beta 2 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It would be really nice and useful, at least to me, if I could create a custom subclass of java.text.Format and tell <bean:write/> to use this formatter. The current <bean:write/> really only supports java.text.NumberFormat and java.text.SimpleDateFormat . For example I would like to write custom a formatter to deal with String in the common formats for email address, eg: "John Doe <[EMAIL PROTECTED]>" and just outputs "John Doe". I imagine something like: <bean:write name="address" formatter="foo.bar.AddressFormat"/> -- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>