Arrrr, im with you, didnt realize that you couldnt nest tags. Any idea on
how to perform this ?

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 13:25
To: Struts Users Mailing List
Subject: RE: Javascript & bean:message


Yeh, but if your using a tag already:

<html:somethingorother onchange="<bean:message...

It aint gonna work (cant nest jsp tags in attributes of other jsp tags).
But if you have normal html:

<input type="checkbox" onchange="<bean:message...

then it will...

-----Original Message-----
From: Cook, Graham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 21:15
To: 'Struts Users Mailing List'
Subject: RE: Javascript & bean:message


mmmm, all i wanted to do was get the value from the application.properties
and pass it in through a JavaScript function as an argument?

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 12:37
To: Struts Users Mailing List
Subject: RE: Javascript & bean:message


AFAIK that would depend on whether the tag in which that onchange is an
attribute is a JSP tag or normal html.

-----Original Message-----
From: Cook, Graham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 20:32
To: Struts User List
Subject: Javascript & bean:message


Is it possible to have a <bean:message> tag as a parameter to a javscript
method?

ie.
        onchange="javascript:myFunction(<bean:message
key='button.search'/>)" />





****************************************************************************
****************
" This message contains information that may be privileged or confidential
and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for
the person to whom it is addressed. If you are not the intended recipient,
you
are not authorized to read, print, retain, copy, disseminate, distribute, or
use
this message or any part thereof. If you receive this message in error,
please
notify the sender immediately and delete all copies of this message ".
****************************************************************************
****************


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


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

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


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

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

Reply via email to