struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lally Singh" <>
Subject [S2] Form & OGNL Question
Date Tue, 12 Jun 2007 19:36:39 GMT
This sounds like it should be  FAQ, but how do I bind a dynamically
generated form item?

<s:set name="i" value="0" />
<s:iterator value="groups">
  <s:radio name="groups[#i].value" list="{1,2,3,4}" />
  <s:set name="i" value="#i + 1" />

This doesn't do what I want, which is to have 1 set of radio buttons
per item in groups, each bound to the value property of element i in

Thanks in advance for your help,


H. Lally Singh
Ph.D. Candidate, Computer Science
Virginia Tech

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

View raw message