• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help on Multiple Records updation

 
Rahul Juneja
Ranch Hand
Posts: 425
  • 0
  • 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
Marshal
Posts: 33723
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rahul,
What is the problem/question?
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • 0
  • 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
  • 0
  • 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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic