Return-Path: Delivered-To: apmail-jakarta-struts-dev-archive@apache.org Received: (qmail 64313 invoked from network); 4 Jun 2003 08:14:25 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 4 Jun 2003 08:14:25 -0000 Received: (qmail 24509 invoked by uid 97); 4 Jun 2003 08:16:50 -0000 Delivered-To: qmlist-jakarta-archive-struts-dev@nagoya.betaversion.org Received: (qmail 24502 invoked from network); 4 Jun 2003 08:16:50 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 4 Jun 2003 08:16:50 -0000 Received: (qmail 63715 invoked by uid 500); 4 Jun 2003 08:14:16 -0000 Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 63702 invoked from network); 4 Jun 2003 08:14:16 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 4 Jun 2003 08:14:16 -0000 Received: (qmail 24496 invoked by uid 50); 4 Jun 2003 08:16:42 -0000 Date: 4 Jun 2003 08:16:42 -0000 Message-ID: <20030604081642.24495.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: struts-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 20466] New: - bean:message should accept Object args instead of String args X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=20466 bean:message should accept Object args instead of String args Summary: bean:message should accept Object args instead of String args Product: Struts Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: struts-dev@jakarta.apache.org ReportedBy: bert.scheel@dhl.com Problem: with format.date={0,date,medium} should result in a message of the form 04.06.2003 in german locale but it results in an error. To use the full capabilities of MessageFormat you must be able to provide Object arguments. Solution: Change the type of arg0 - arg3 from String to Object in ../taglib/bean/MessageTag.java. This will have no consequences on the interface or documentation of the message tag. Remark: A bug in ../util/MessageResources.java results in the usage of the default Locale. --------------------------------------------------------------------- To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-dev-help@jakarta.apache.org