Hi,

i need help to understand following code. i understand that "histLstForm" is 
the name of form bean. but i don't understand how does <bean:write> know 
that there are multiple vales of "question" property of "histLstForm" bean?

How does it perform a loop on all the values of "question" property of 
"histLstForm" bean? because it it calls getter funtion on "question" 
property it will give one value, so how does it know there are multiple 
values?

Following code is from vic's DB sample.

<logic:iterate id="i" name="histLstForm">
<tr><td>
<bean:write name="histLstForm" property="question"/></td><td>
<bean:write name="histLstForm" property="ans"/></td><td>
<bean:write name="histLstForm" property="dateCont"/></td><td>
<bean:write name="histLstForm" property="typ"/></td><td>
<bean:write name="histLstForm" property="cost"/></td>
</tr>
</logic:iterate>
</table>



Please do help me.

thanks


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to