You can parameterize messages using the JSTL fmt tags like this
<fmt:message bundle="" key="">
<fmt:param value="">
</fmt:message>
And you would load the resource bundle prior to using it with
<fmt:setBundle> or <fmt:bundle>
-- Srivathsan
-----Original Message-----
From: Michael Speer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 1:37 PM
To: Beehive Users
Subject: RE: Resource Bundle in JSP passing Args to Message Resources --
Beehive Expression Language missing key feature
FYI
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.
-----Original Message-----
From: Giovanni Motta [mailto:[EMAIL PROTECTED]
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
<netui-data:message value="" resultId="">
<netui-data:messageArg value=""></netui-data:messageArg>
</netui-data:message>
Regards.
2007/6/19, Michael Speer <[EMAIL PROTECTED]>:
>
> 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= {0} days
>
>
>
> Unfortunately I can not find any example in all of the samples for
> 1.02 release that use bundle arguments from a jsp ...
>
> I can do this programatically on the server side in my Action using
> something like
>
> new ActionMessage('label.days", days) but I should not be required to
> do that
>
>
>
> Struts Messages has
>
> <bean:message key="label.welcome" arg0="John" arg1="Dilinger"/>
>
> Shouldn't beehives Expression Language extension support arg0...argN
> 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
> arguments to Messages?
> Michael
>
>
********************************************************************************************
This message, including any attachments, contains confidential information
intended
for a specific individual and purpose, and is protected by law. If you are not
the intended
recipient, please contact the sender immediately by reply e-mail and destroy
all copies.
You are hereby notified that any disclosure, copying, or distribution of this
message, or
the taking of any action based on it, is strictly prohibited.
TIAA-CREF
********************************************************************************************