Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help on Multiple Records updation  RSS feed

 
Rahul Juneja
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


<logic:iterate id="participantList" collection="<%=arrayList%>" type="com.honeywell.ecms.formbeans.AddMultipleGrowthPlanParticipantDetailForm">
<tr>
<%
System.out.println("Value of K" + k);
%>
<td nowrap class="clstdfont">
<bean:write name="participantList" property='<%="eid[" + k + "]"%>'/>
<html:hidden property="eid" />
</td>

<td nowrap class="clstdfont">
<html:text name="participantList" property="addMultipleParticipantFormBean.firstName" style="width: 120px"/>
</td>

<td nowrap class="clstdfont">
<html:text name="participantList" property="addMultipleParticipantFormBean.lastName" style="width:120px"/>
</td>

<td width="20%" nowrap class="clstdfont">
<html:text name="participantList" property="addMultipleParticipantFormBean.emailAddress" style="width:120px"/>
</td>

<td class="clstdfont"><select name="select"
class="clsInputtext" style="width: 120px">
<option value="Corporate">Corporate</option>
<option value="AERO">AERO</option>
<option value="MKTS">MKTS</option>
<option value="MCMS">MCMS</option>
<option value="HA">HA</option>
</select>
</td>
<td class="clstdfont">
<html:text name="participantList" property='<%="units[" + k + "]"%>' style="width: 80px"/>
<html:hidden property="units" />
</td>
</tr>
<% k++; %>
</logic:iterate>


Thanks,
Rahul Juneja
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rahul,
What is the problem/question?
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly this is the problem: "what is the problem?" :-).

./pope
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think,
Your code is about show all data in table.

And your problem about When update data from user, How to update data into database or not ?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!