No Problem :) On Saturday, November 28, 2009, <[email protected]> wrote: > Hi, > > Thanks for the answer, both are working now. > > > Regards > LV > > > > ________________________________ > From: KamHon Eng <[email protected]> > To: Struts Users Mailing List <[email protected]> > 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, <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected]
-- Saeed Iqbal http://www.iqbalconsulting.com Struts - J2EE - Application Architect / Developer --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

