struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harinath DP" <>
Subject RE: Scriptlet not executed
Date Thu, 16 Jan 2003 11:13:30 GMT
Try this

onclick='<%= "marcaMaximoCheckbox(0,, " + pos + ")" %>'

-----Original Message-----
From: Míguel Ángel Mulero Martínez
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" />

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?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message