Hi,

Thanks for the answer, both are working now.


Regards
LV



________________________________
From: KamHon Eng <kam...@gmail.com>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Sat, November 28, 2009 9:41:32 AM
Subject: Re: textfield label localized

<s:textfield label="%{getText('label.name')}" name="user.name"
maxlength="35" theme="xhtml"/>
or
<s:textfield key="label.name" name="user.name" maxlength="35" theme="xhtml"/>

shoud working

On Sat, Nov 28, 2009 at 4:53 AM,  <mailtolouis2020-str...@yahoo.com> wrote:
> Hi,
>
> Can someone tell me how to make the label use my resource bundle value? I've 
> tried this
> <s:textfield label="label.name" name="user.name" maxlength="35" 
> theme="xhtml"/>
> and
> <s:textfield label="%{getText(label.name)}" name="user.name" maxlength="35" 
> theme="xhtml"/>
> both are not working.
>
> But this work:
> <s:label key="label.name"/>
>
> in my resource bundle properties file
> I've this
> label.name = Name
>
> THanks
>
> L.V
>



-- 
Best Regard,

Kam Hon

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

Reply via email to