Well, actually that was my bad when typing the e-mail.
It seems like tags within JS within another tag won't render, this is being
seen repeatedly...
DX
- Original Message -
From: David Graham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 10:17 AM
Subject: Re: JavaScript: resouces not rendering
Looks like you are not using quotes properly. Make sure ' is closed with
'
and with .
David
From: Darkgoyle [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: JavaScript: resouces not rendering
Date: Wed, 5 Mar 2003 10:07:16 -0500
I have a piece of code such as:
html:form...
...
input type=image ... src=1.gif onMouseOver=this.src='2.gif'
...
/html:form
I want to externalize all the images on my application like:
...src=bean:message key=app.img.1/
onMouseOver=this.src='bean:message key=app.img.2'/...
The first resource will render, but any tag inside onMouseOver or the
like,
won't.
I've come across a couple of solutions:
1. Declare the tag as a JSP variable and call it inside the JS.
2. Change the struts form tag to a normal HTML tag.
The problem is that they both seem like hacks, and I was wondering what
is
the 'proper' way to do it.
Thanks in advance,
DX
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-
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]