I have a <logic:iterate> tag in which I list items to a table. In a column
at the right side I want to add a "details" link which should link to
detailed information of this item.

How can I use the <html:link> tag delivering a code of an item in my
iteration loop to my action?

<logic:iterate name="chooseForm" property="vecOptions"
    type="com.xxx.Option" id="option">
    <tr>
      <td>
                <bean:write name="option" property="code"/>
      </td>
      <td>
                <bean:write name="option" property="text"/>
        </td>
        <td>
              <html:link page="/main.do" ??? > details
              </html:link>
        </td>
    </tr>
</logic:iterate>


This is my iteration tag. In the 3rd row I want a link which calls the
action "main" and the "code" from the 1st row should be delivered.

Thanks for any help!

B.

Reply via email to