struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas De Loof" <nicolas.del...@cgey.com>
Subject Re: Variable
Date Fri, 21 Jun 2002 15:07:59 GMT
As bean:define tag sets a context bean + a script variable, I use this:

<logic:iterate .... indexId="count">
  <bean:define id="counter" name="count">

  <html:text ... />
  <html:button ... onclick='<%= "aaa(" + counter +")" %>' />
</logic:iterate>

Nico


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