You can also use JSTL Notation.
Leon Rosenberg <[EMAIL PROTECTED]>
Leon Rosenberg <[EMAIL PROTECTED]>
08/29/2005 06:39 AM
Please respond to
"Struts Users Mailing List"
To
user@struts.apache.org
cc
Subject
RE: Passing variable to _javascript_ function
Unfortunat
Thanks , this was very informative.
Regards
Anuradha
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Monday, August 29, 2005 4:09 PM
To: user@struts.apache.org
Subject: RE: Passing variable to javascript function
Unfortunately it's not so easy, becaus
Unfortunately it's not so easy, because you can't use a tag as an
attribute to the tag.
)"
This can't work, because the attribute (onclick) will not be evaluated.
There could be two possible solutions. First, leave the html taglib and
drop back to normal
var myData = '';
Hi Anuradha,
>
>
>
Hi Anuradha,
I think this will work:
onclick="return validateDelete('')"
where "abc" is the java variable that you put in request/session.
With best regards,
Anjishnu.
-Original Message-
From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED]
Sent: Monday, August 29, 2005 2:26 PM
4 matches
Mail list logo