You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Anuradha <an...@mentorix.com> on 2005/08/29 14:29:15 UTC

re:passing variable to javascript

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