Did you try using the expression tags... that may work. (you may need to
change the methods to the right ones...)
<html:radio idName='lista'
onclick='setBusquedaProveedor("<%= lista.getIdProveedor() %>","<%=
lista.getStrRazonSocial() %>")'
property='idProveedor' value='idProveedor' />
The <bean:write> would not work in html:radio since the tag doesn't
allow/recognize nested tags.
Nitesh
----- Original Message -----
From: "Rafael Taboada" <[EMAIL PROTECTED]>
Cc: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, June 16, 2005 8:35 PM
Subject: Re: Pass parameter to javascript function
Thank u very much for all ur help...
Zarar: the same thing, it takes as String value
In my code:
<html:radio idName='lista'
onclick='setBusquedaProveedor("${idProveedor}","${strRazonSocial}")'
property='idProveedor' value='idProveedor' />
In the source code(runtime):
<input type="radio" name="idProveedor" value="1"
onclick="setBusquedaProveedor("${idProveedor}","${strRazonSocial}")">
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo en el destino pues no me gusta tener la idea de controlar mi vida"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]