struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Anderson" <>
Subject RE: <html:submit>
Date Wed, 17 Dec 2003 20:09:08 GMT
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'/>
<html-el:submit property="physicianSubmit" value="${messy}"/>

>From: Clark Kent <>
>Reply-To: "Struts Users Mailing List" <>
>To: usergroup <>
>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 
>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?
>Do you Yahoo!?
>New Yahoo! Photos - easier uploading and sharing

Check your PC for viruses with the FREE McAfee online computer scan.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message