Name:
Location: Bangalore, India

Wednesday, January 30, 2008

Struts Tag - logic:iterate tag

<bean:message key="request.label.addtiInfo" bundle="abc"/>
<table >
<logic:present name="RequestForm" property="additionalInfoList">
<logic:iterate id="questionnaireBean" indexId="index" name="RequestForm" property="additionalInfoList">
<tr >
<td >
<%=index+1%>. <bean:write name="questionnaireBean" property="question"/><BR>
Response. <bean:write name="questionnaireBean" property="answer"/>
</td>
</tr>
</logic:iterate>
</logic:present>
</table>

0 Comments:

Post a Comment

<< Home