Can anyone help with this? I'm using Struts and am having difficulties getting the result of a <bean:message> into an 'onclick' of an <html:img> tag.
Here's the markup in the jsp for <img>: <img src="normal.gif" border="0" alt="" onclick="confirm('<bean:message key="delete"/>');"/> The (correct) result is: <img src="normal.gif" border="0" alt="" onclick="confirm('Delete?');"/> When I change to using <html:img> instead of <img> the result is: <html:img src="normal.gif" border="0" alt="" onclick="confirm('Delete?');"/> As you can see, while the <bean:message> was retrieved and the 'onclick' value correctly created. But the <html:img> was not transformed to an <img> tag. Why not? What am I doing wrong? At some point I'm going to want to retrieve a pointer to a localized graphic and alternate title for the <html:img> so the use of <bean:message> is not specific to 'onclick'. Any help is greatly appreciated. Lori Cook --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]