When you say these suggestions didn't work, what is happening? What is in the generated HTML returned to the browser?

Frank


Chetan Pandey wrote:
onclick = '<%="return confirmationMessage("  + jsMessage + ")" %>'

Did not work.

Chetan

-----Original Message-----
From: Puneet Lakhina [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 2:18 PM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in Javascript Functions parameter

<html:link action="/delete" onclick =
'<%="returnconfirmationMessage(jsMessage)" %>'

Ok , I think I made a mistake here. This should actually be
<html:link action="/delete" onclick = '<%="return confirmationMessage("  +
jsMessage + ")" %>'

Did you try it this way?


--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
 (2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

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

Reply via email to