Hi,
 
I list many records on the form. Each record has 'Details' submit button, which suppose to flip form from 'List'
mode to 'Details' mode, where only 1 record is visible with all it fields.
 
On my jsp page I have:
 
 
<logic:iterate id="element" type="myApp.common.GeoEntity" name="<%= Constants.GEO_ENTITY_LIST %>">
 <table>
        <tr>
    <td>
    <html:submit property="action" value=" Details">
       <%! WHAT SHOULD I PUT HERE TO PASS PROPERTY 'id' into FORM BEAN 'position'? %>
    </html:submit>
    </td>
          <td><bean:write name="element" property="id"/></td>
          <td><bean:write name="element" property="name"/></td>
        </tr>
 </table>
</logic:iterate>
 
 
I tried different things here but it does not work, or produce error.
 
Any hints how to do it, or is there better way to approach it?
 
    Thanks in advance,
 
    JK

Reply via email to