This works, thanks, I tried somithing like this before but didn't work. I don't kwon why.
Thanks again! Miguel -----Mensaje original----- De: Harinath DP [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 16 de enero de 2003 12:14 Para: Struts Users Mailing List Asunto: RE: Scriptlet not executed Try this onclick='<%= "marcaMaximoCheckbox(0,, " + pos + ")" %>' -----Original Message----- From: M�guel �ngel Mulero Mart�nez [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 4:27 PM To: Lista Struts Subject: Scriptlet not executed Hi all! I've seen in a example of the Struts Documentation how to merge scriptlets with tags. I've tried this: <html:multibox property='buscoCooperacion.checkAnyoEmpresa" onclick="marcaMaximoCheckbox(0,, <%=pos%>);'> <bean:write name="elementoCreacion" /> </html:multibox> But the code generated is: <input type="checkbox" name="buscoCooperacion.checkAnyoEmpresa" value="No clasifi" onclick="marcaMaximoCheckbox(0,, <%=pos%>);"> So the <%=pos%> is not executed. I've tried a lot of things similar to this. Someone could help me? Thanks! Miguel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

