struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anuradha" <anuradha.vai...@mentorix.com>
Subject re:passing variable to javascript
Date Mon, 29 Aug 2005 12:29:15 GMT
Hi Anuradha

try using el.I mean you may use
struts-html-el.tld and it will be a lot easier.
For e.g.

<html-el:link href="javascript:CancelX('${beanname.property}')"

so the $ will indicate that beanname.property has to be evaluated.You will need jstl.jar,standard.jar
and struts-el for this.

Warm Regards
Anuradha
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message