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
Hi,
Thanks, its work now by using key.
Regards
LV
From: Saeed Iqbal saee...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Sat, November 28, 2009 1:54:48 AM
Subject: Re: textfield label localized
There are 2 ways to go about this
1
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
, 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
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
There are 2 ways to go about this
1) within Struts tags
use key=
where your i8nl key should go in.
But for that to work your struts needs to know where all the i8nl values are
located.
Define a constant for it in struts.xml
or create a struts.properties to contain this
6 matches
Mail list logo