struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harinath DP" <harinat...@itwinetech.com>
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
[mailto:miguel-angel.mulero@mad.tecsidel.es]
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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message