Unfortunately I tried that... as Wendy said, the problem ultinately is really one tag nested within another.

Frank

Garner, Shawn wrote:
It might also work to do this:

<html:submit styleClass="cssButton" value="<fmt:message
key='labels.loginButton' />" />

Sometimes double quotes inside double quotes confuses the compiler.
If you put single quotes inside the double quotes it might be able to better
determine your meaning.

Shawn

-----Original Message-----
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 2:43 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: JSTL messages problem

Ok, today is apparently the day I get to ask a bunch of stupid questions...

Why doesn't this work?

<html:submit styleClass="cssButton" value="<fmt:message
key="labels.loginButton" />" />

I get...

org.apache.jasper.JasperException: /index.jsp(36,83) equal symbol expected

...when I try it.  <bean:message> doesn't work either... it's obviously a
problem with embedding one taq in another, so I guess my quesion really is
how does one label a submit button with a message from a bundle in
general?  I've done this in the past, but I've never tried it from within
an <html:submit>, always a plain HTML <input> element, so it wasn't a
nested custom tag.  Thanks!


--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]

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

Reply via email to