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,

-- 
Andrew Stepanenko,
Software engineer,
Ukrainian-Dutch Faculty of Economics and Management
Ternopil Academy of National Economy
Shevchenko Street 9, Office 24-25
Ternopil, 46000 UKRAINE
Tel: +38 (0352) 43 52 41
fax: +38 (0352) 43 52 45
Web: http://www.tane.edu.ua/unf




---------------------------------------------------------------------
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]

Reply via email to