Subject: html:radio and iterate tag
From: "Issam Mouslim" <[EMAIL PROTECTED]>
 ===
Hello folks,
    Is there any way to index html:radio with my own index?
Here is my code: I want to have an unknown number of radio per line
I have 2 iterate one for the lines, the second containing my radio is for
columns. I want my radios to be index by the index of the first iterate (ie:
lines)

<table class="intro" width="100%">
 <tr>
  <td width="25%">&nbsp;</td>
  <logic:iterate id="access" name="AccessTable" property="entries"
type="beans.AccessLevel">
   <td bgcolor="#CCCCCC">
    <bean:write name="access" property="code"/>
   </td>
  </logic:iterate>
 </tr>
 <logic:iterate id="center" name="CenterTable" property="entries"
type="beans.Center">
  <tr>
   <td align="right" width="25%">
    <bean:write name="center" property="name"/>
   </td>
   <logic:iterate id="access" name="AccessTable" property="entries"
type="beans.AccessLevel">
    <td bgcolor="#CCCCCC">
     <html:radio property="userAccess" indexed="true" idName="access"
value="accessLevelId"/>
    </td>
   </logic:iterate>
  </tr>
 </logic:iterate>
</table>

Thanks



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to