Return-Path: Delivered-To: apmail-beehive-user-archive@www.apache.org Received: (qmail 35812 invoked from network); 19 Jun 2007 17:37:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2007 17:37:38 -0000 Received: (qmail 30023 invoked by uid 500); 19 Jun 2007 17:37:17 -0000 Delivered-To: apmail-beehive-user-archive@beehive.apache.org Received: (qmail 29999 invoked by uid 500); 19 Jun 2007 17:37:17 -0000 Mailing-List: contact user-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Users" Delivered-To: mailing list user@beehive.apache.org Received: (qmail 29984 invoked by uid 99); 19 Jun 2007 17:37:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2007 10:37:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [64.186.184.65] (HELO m1.motive.com) (64.186.184.65) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2007 10:37:12 -0700 Received: from m1.motive.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 9FABC3797 for ; Tue, 19 Jun 2007 12:36:47 -0500 (CDT) Received: from bellagio.motive.com (unknown [192.168.3.116]) by m1.motive.com (Postfix) with ESMTP id 8520C36D4 for ; Tue, 19 Jun 2007 12:36:47 -0500 (CDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Resource Bundle in JSP passing Args to Message Resources -- Beehive Expression Language missing key feature Date: Tue, 19 Jun 2007 12:36:51 -0500 Message-ID: <7EBFD5664A0D844786951641247AE075025F16A8@bellagio.motive.com> In-Reply-To: <95473edf0706190618m50241363ga89435a84890b7bf@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Resource Bundle in JSP passing Args to Message Resources -- Beehive Expression Language missing key feature Thread-Index: AceydGOg8VblhPpTSgGUf2ev611fkgAI9d7w References: <7EBFD5664A0D844786951641247AE075025F163C@bellagio.motive.com> <95473edf0706190618m50241363ga89435a84890b7bf@mail.gmail.com> From: "Michael Speer" To: "Beehive Users" X-PMX-Version: 5.1.2.240295 X-Virus-Checked: Checked by ClamAV on apache.org FYI=20 The 1.0.2 docs state Netui-data:message has been Deprecated. This tag has been deprecated in favor of the i18n tags available in JSTL.=20 -----Original Message----- From: Giovanni Motta [mailto:mottagio@gmail.com]=20 Sent: Tuesday, June 19, 2007 8:19 AM To: Beehive Users Subject: Re: Resource Bundle in JSP passing Args to Message Resources -- Beehive Expression Language missing key feature Hi Michael, see Regards. 2007/6/19, Michael Speer : > > In my jsp I want to internationalize this > > bundle.default['label.days'] by passing arg0 to it as the # of days > > > > in my messages.properties i have > > label.days=3D {0} days > > > > Unfortunately I can not find any example in all of the samples for=20 > 1.02 release that use bundle arguments from a jsp ... > > I can do this programatically on the server side in my Action using=20 > something like > > new ActionMessage('label.days", days) but I should not be required to > do that > > > > Struts Messages has > > > > Shouldn't beehives Expression Language extension support arg0...argN=20 > attributes The BundleNode Abstract Class only Contains > > getString(Key) > it Should also Contain > GetString(Key,Object[]) > > Does anyone know how to use the expression Language to pass in=20 > arguments to Messages? > Michael > >