Hi

I am using logic:iterate tag as shown below

<logic:iterate id="element" name="addRateForm"   property="firstName"  indexId="i" >
          <tr>
              <% int j = ((Integer) pageContext.getAttribute("i")).intValue();  %>
           <td><html:text name="addRateForm" property="firstName[<%=j%>]"/><td>
      
          </tr> 
</logic:iterate>

Error Message: Invalid indexed property  'firstName[]' 

I did print the vlaues of "j" and they are fine. 


What am i doing wrong in the above expression. 

Thanks

Reply via email to