Thanks. Is that equivalent to:
<c:set var="mouseOver">
ddrivetip('<fmt:message key="editEmail.tooltip.deleteAttachment"/>');
</c:set>
??
Dean Hoover
Bill Siggelkow wrote:
You are on the right track, Dean. Do something like the following:
<bean:define id="mouseOver">
ddrivetip('<fmt:message key="editEmail.tooltip.deleteAttachment"/>');
</bean:define>
<html:link href="/EditAttachment.do?op=del&id=${item.id}"
onmouseover="${mouseOver}" onmouseout="hideddrivetip();">
<fmt:message key="editEmail.label.delete"/>
</html:link>
Bill Siggelkow
Dean A. Hoover wrote:
I'm using JSTL and struts and I'm not sure
how to stuff an fmt:message into an html:link
Here's the partial JSP:
<html:link href="/EditAttachment.do?op=del&id=${item.id}"
onmouseover="ddrivetip('<fmt:message
key="editEmail.tooltip.deleteAttachment"/>');"
onmouseout="hideddrivetip();"><fmt:message
key="editEmail.label.delete"/></html:link>
Jasper barfs on this with:
EditEmail.jsp(35,162) equal symbol expected
I figure its because all of the JSP custom tags get resolved at
the same time, right? So, what I think I need to do is get the
message that would be output by fmt:message into a variable
and then use the variable in the html:link attribute. Am I on
the right track? How would you go about it?
Thanks.
Dean Hoover
---------------------------------------------------------------------
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]