Re: Setting a Variable in Javascript Functions parameter

2006-09-08 Thread Puneet Lakhina
ally, or resolving this problem. Chetan Pandey -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 2:37 PM To: Struts Users Mailing List Subject: Re: Setting a Variable in Javascript Functions parameter When you say these suggestions

Re: Setting a Variable in Javascript Functions parameter

2006-09-08 Thread Puneet Lakhina
On 9/8/06, Chetan Pandey <[EMAIL PROTECTED]> wrote: I wasn't looking at the Source cos I am working through Eclipse and I don't think there is a way to lookup Source in Eclipse. So I manually generated WAR and tested in on IE. And surprising results For usage of onclick = '<%="return conf

RE: Setting a Variable in Javascript Functions parameter

2006-09-08 Thread Chetan Pandey
inal Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 2:37 PM To: Struts Users Mailing List Subject: Re: Setting a Variable in Javascript Functions parameter When you say these suggestions didn't work, what is happening? What is in the generat

RE: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Chetan Pandey
Message(" + 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 Variab

Re: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Frank W. Zammetti
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 '<%="returnconfirmationMessage(jsMessage)" %>' Ok , I think I made a m

RE: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Chetan Pandey
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: Settin

Re: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Puneet Lakhina
Ok , I think I made a mistake here. This should actually be

Re: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Frank W. Zammetti
essage- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 07, 2006 11:47 AM > To: Struts Users Mailing List > Subject: Re: Setting a Variable in Javascript Functions parameter > > Then your JSP expression is not being evaluated... this *is* in a J

RE: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Chetan Pandey
, September 08, 2006 11:38 AM > To: Struts Users Mailing List > Subject: Re: Setting a Variable in Javascript Functions parameter > > Is jsMessage a java variable or a javascript variable? If it's a java > variable and you want to pass its value to the javascript function, I thi

Re: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Frank W. Zammetti
ried >> "onclick =returnconfirmationMessage(<%=jsMessage%>)" >> >> And other combinations with no help. >> >> Thanks. >> >> Chetan >> >> -Original Message- >> From: Puneet Lakhina [mailto:[EMAIL PROTECTED] >> Sen

Re: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread 皮苗
> Thanks. > > Chetan > > -Original Message- > From: Puneet Lakhina [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 07, 2006 11:13 PM > To: Struts Users Mailing List > Subject: Re: Setting a Variable in Javascript Functions parameter > > On 9/7/0

RE: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Chetan Pandey
essage- From: 皮苗 [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 11:38 AM To: Struts Users Mailing List Subject: Re: Setting a Variable in Javascript Functions parameter Is jsMessage a java variable or a javascript variable? If it's a java variable and you want to pass its v

Re: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread 皮苗
to:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 11:13 PM To: Struts Users Mailing List Subject: Re: Setting a Variable in Javascript Functions parameter On 9/7/06, nirav bumia <[EMAIL PROTECTED]> wrote: > > Just pass the variable jsMessage(remove the quotes) i.e. > >

Re: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Frank W. Zammetti
And other combinations with no help. Thanks. Chetan -Original Message- From: Puneet Lakhina [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 11:13 PM To: Struts Users Mailing List Subject: Re: Setting a Variable in Javascript Functions parameter On 9/7/06, nirav bumia <[

RE: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Chetan Pandey
13 PM To: Struts Users Mailing List Subject: Re: Setting a Variable in Javascript Functions parameter On 9/7/06, nirav bumia <[EMAIL PROTECTED]> wrote: > > Just pass the variable jsMessage(remove the quotes) i.e. > > > and use this variable in javascript. I suppose you a

Re: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Puneet Lakhina
On 9/7/06, nirav bumia <[EMAIL PROTECTED]> wrote: Just pass the variable jsMessage(remove the quotes) i.e. and use this variable in javascript. I suppose you are trying to pass a variable that you have in some scope in your jsp to your javascript function. Am not really sure the above sug

Re: Setting a Variable in Javascript Functions parameter

2006-09-07 Thread nirav bumia
Just pass the variable jsMessage(remove the quotes) i.e. confirmationMessage(jsMessage)"> and use this variable in javascript. On 9/7/06, Chetan Pandey <[EMAIL PROTECTED]> wrote: Hi All: I want to pass a Variable to my Javascript Function in the following manner Where jsmessage=

Setting a Variable in Javascript Functions parameter

2006-09-07 Thread Chetan Pandey
Hi All: I want to pass a Variable to my Javascript Function in the following manner Where jsmessage= " Are you sure you want to delete?" Currently the Confirm-Box is printing "jmessage". How do I force it to print the contents of "jmessage". I also tried using retur