[ http://issues.apache.org/struts/browse/STR-794?page=all ] David Evans closed STR-794: --------------------------- Resolution: Not A Problem > The bean:message tag should accept Objects as arguments > ------------------------------------------------------- > > Key: STR-794 > URL: http://issues.apache.org/struts/browse/STR-794 > Project: Struts Action 1 > Type: Improvement > Components: Taglibs > Versions: Nightly Build > Environment: Operating System: other > Platform: Other > Reporter: Erik Godding Boye > Assignee: David Graham > Priority: Minor > Fix For: 1.1.1 > Attachments: MessageTag-arg-Object.diff > > I would suggest that the bean:message tag is changed to accept Objects as > arguments, not only Strings. The problem with this becomes apparent when you > want to present localized dates, numbers or currencies as part of your > localized messages. The MessageTag implementation uses MessageFormat internally > (which uses an array of Objects as arguments), so there should be no problems > changing the interface. Please refer to a FAQ entry on jGuru > (http://www.jguru.com/faq/view.jsp?EID=915891) for additional information. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira