• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Help on Multiple Records updation

 
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
 
author & internet detective
Posts: 40200
816
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rahul,
What is the problem/question?
 
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
 
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 ?
 
Let's get him boys! We'll make him read this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic