Hi Jeff and everyone,

What i mean is, how can we use the indexId attribute in the logic:iterate
tag?

    <logic:iterate id="reqPageItem" type="edu.hawaii.purchasing.ItemBean"
--->                  indexId="itemIdx"
                  collection="<%= req.getList() %>">
      <tr valign="top">
        <td class="light" height="20" align="center"> <html:text
name="itemBean" property="qty" value="<%= reqPageItem.getQtyString() %>"
size="4"/> </td>
      </tr>
    </logic:iterate>

Thanks,

Lucas


>>-----Original Message-----
>>From: Krueger, Jeff [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, July 10, 2001 3:59 PM
>>To: [EMAIL PROTECTED]
>>Subject: RE: logic:iterator indexId?
>>
>>
>>Lucas,
>>
>>      I'm not 100% sure of what your asking, but maybe this will help.
>>Jeff Krueger
>>
>>        <%int i=0;%>
>>        <strutslogic:iterate id="category"
>>                        type="com.maint.CategoryBean"
>>                        name="recordManager"
>>                        property="currentCategories" >
>>        <tr>
>>          <td><input type="text" size="32" name="categoryName_<%=i++%>"
>>value="<jsp:getProperty name="category" property="name"/>"/></td>
>>        </tr>
>>        </strutslogic:iterate>
>>
>>
>>-----Original Message-----
>>From: Mimpin Halim [Lucas] [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, July 10, 2001 7:42 PM
>>To: [EMAIL PROTECTED]
>>Subject: logic:iterator indexId?
>>
>>
>>Hi Everyone,
>>
>>Anybody knows how to use the indexId in the logic:iterator tag?
>>Will it give us indexed html form element?
>>
>>Please hellpppp...
>>
>>Thanks,
>>
>>Lucas
>>

Reply via email to