you can't specifiy a tag as the value of an attribute in another tag. There are a few different ways you could solve this problem. Here's one using jstl and struts-el:
<c:set var="messy">
<bean:message key='csc.button.submit'/>
</c:set>
<html-el:submit property="physicianSubmit" value="${messy}"/>


From: Clark Kent <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: usergroup <[EMAIL PROTECTED]>
Subject: <html:submit>
Date: Wed, 17 Dec 2003 11:53:25 -0800 (PST)

I am trying to use <bean:message> for internationalization within the html:submit button like this :

<html:submit property="physicianSubmit" value="<bean:message key='csc.button.submit'/>"/>

There is a key-value pair in the resource bundle.

But it seems to display the following error : Attribute csc.button.submit has no value

How do I fix this error?

Thanks,

CK





---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

_________________________________________________________________
Check your PC for viruses with the FREE McAfee online computer scan. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to