changing textfield name dynamically....Urgent
<logic:iterate id="report" name="displayReport">
<tr>
<td class="Pad4 Bu02"><html:text name="report"property="textField" indexed="true" size="40" styleClass="Fs70 Pad10L AlnL" readonly="true"></html:text></td>
<td width="15">FromDate<SPAN CLASS="Fs70 Re01">*</SPAN></td>
<td colspan="4" class="Pad4 Bu02"><html:text
property="fromDate" size="15" styleClass="Fs70 Pad10L AlnL"
readonly="true" /><a
onmouseover="window.status='Date Picker';return true;"
onmouseout="window.status='';return true;"
href="javascript:show_calendar('customizeDashboardForm.fromDate');"><img
src="Web/Images/datepicker.gif" width="22" height="19"
border="0" align="absmiddle" title="Calender" alt="" /></a></td></tr>
</logic:iterate>
My Question : how to change the text field name dynamically...when i am getting one date e.g. from date and to date, then able to selct the date and display in text field. but when it appears more than one, i m not able to display the date in text fields by clicking on date picker. please help me
# 2
<logic:iterate id="report" name="displayReport">
<tr>
<td class="Pad4 Bu02"><html:text name="report" property="textField" indexed="true" size="40" styleClass="Fs70 Pad10L AlnL" readonly="true"></html:text></td>
<td width="15">FromDate<SPAN CLASS="Fs70 Re01">*</SPAN></td>
<td colspan="4" class="Pad4 Bu02"><html:text
property="fromDate" size="15" styleClass="Fs70 Pad10L AlnL"
readonly="true" /><a
onmouseover="window.status='Date Picker';return true;"
onmouseout="window.status='';return true;"
href="javascript:show_calendar('customizeDashboardForm.fromDate');"><img
src="Web/Images/datepicker.gif" width="22" height="19"
border="0" align="absmiddle" title="Calender" alt="" /></a>
</td>
<td width="15">ToDate<SPAN CLASS="Fs70 Re01">*</SPAN></td>
<td colspan="4" class="Pad4 Bu02"><html:text
property="toDate" size="15" styleClass="Fs70 Pad10L AlnL"
readonly="true" /><a
onmouseover="window.status='Date Picker';return true;"
onmouseout="window.status='';return true;"
href="javascript:show_calendar('customizeDashboardForm.toDate');"><img
src="Web/Images/datepicker.gif" width="22" height="19"
border="0" align="absmiddle" title="Calender" alt="" /></a></td>
</tr>
</logic:iterate>
When i am displaying only one set of date field i.e. From date and To date, i m able to select from date and to date from date picker and able to show in text field. But when i am displaying more than one set , i am not able to show the selected date in corresponding text field. because i think the text field name is getting changed dynamically...for doing so what should i do..please help me...and once they are shown in text field then how to get them back to proceed further... how to generate bean for those textfield dynamically also....i hope u are clear wats my requirement...