What if you did something like this? <bean:define id="rcptVal"> <bean:message key="admin.msg.rcpt"/> </bean:define>
<html:text property"rcpt" value="rcptVal"/> Todd On Fri, 11 Feb 2005 13:03:37 +0200, Andrew Stepanenko <[EMAIL PROTECTED]> wrote: > Thanks for your reply, Nigel! > > I've already tried that previously and but the text field remains empty... > > > Nigel Furber wrote: > > >Andrew > >Try something like... > ><html:text property="rcpt"> > ><bean:message key='admin.msg.rcpt'/>" > ></html:text> > >Regards > > > >Nigel Furber > >Boxford Park Ltd > >[mailto:[EMAIL PROTECTED] > >(44) 1204 692579 > >Remove "spamless" from email address > > > >-----Original Message----- > >From: Andrew Stepanenko [mailto:[EMAIL PROTECTED] > >Sent: 11 February 2005 10:23 > >To: Struts Users Mailing List > >Subject: <html:text ... value="<bean:message .../>"/>??? > > > > > >Hello, all! > > > >Can anybody please tell why I can't get <html:text> tag to display a > >message resource as its value so that text field appear on a page with > >already internalized string? > > > ><html:text property="rcpt" value="<bean:message key='admin.msg.rcpt'/>" /> > > > >The problem is that the string "<bean:message key='admin.msg.rcpt'/>" is > >interpreted as a string and not as a tag and thus I get <bean:message > >key='admin.msg.rcpt'/> in my text field instead of the internalized string. > > > >If I don't use action form and simply provide <input type="text" > >value="<bean:message key='admin.msg.rcpt'/>"> everything works fine and > >I can see the proper internalized string in the text field. But I need > >to use action forms. > > > >Thanks in advance, > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]