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]



Reply via email to