Thanks .. At least there is a tag for this purpose
It would be nice to have it in the expression language as well this I
could do something like
${ x > y ? Bundle.default['days',x] : bundle.default['day',x] }
-----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
>
>