You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Gianluca Musella <gi...@bsc.it> on 2009/05/18 16:13:55 UTC

boundle message in s:select

Hi all,

                                                     

In tag:

 

<s:select headerValue="gianluca"...

 

How to read the headerValue value from the resources boundle?

Something like:

 

<s:select headerValue="myproject.myboundle.item."...

 

Thank you,

 

Gianluca


Re: boundle message in s:select

Posted by Mike Altieri <mc...@yahoo.com>.
It should be something like:

<s:select headerValue="%{getText('myproject.myboundle.item')}" ....

Take a look at:
http://struts.apache.org/2.1.6/docs/localizing-output.html
and
http://struts.apache.org/2.1.6/docs/localization.html

Cheers,
Mike


----- Original Message ----
> From: Gianluca Musella <gi...@bsc.it>
> To: user@struts.apache.org
> Sent: Monday, May 18, 2009 10:13:55 AM
> Subject: boundle message in s:select
> 
> Hi all,
> 
>                                                     
> 
> In tag:
> 
> 
> 
> 
> 
> 
> 
> How to read the headerValue value from the resources boundle?
> 
> Something like:
> 
> 
> 
> 
> 
> 
> 
> Thank you,
> 
> 
> 
> Gianluca


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org