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]>