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 2002/08/20 12:51:52 UTC
DO NOT REPLY [Bug 11852] New: -
The bean:message tag should accept Objects as arguments
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=11852>.
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=11852
The bean:message tag should accept Objects as arguments
Summary: The bean:message tag should accept Objects as arguments
Product: Struts
Version: 1.0.2 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: erik.boye@tietoenator.com
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.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>