• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • 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

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

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

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

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

<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>
<td class="clstdfont">
<html:text name="participantList" property='<%="units[" + k + "]"%>' style="width: 80px"/>
<html:hidden property="units" />
<% k++; %>

Rahul Juneja
author & internet detective
Posts: 40200
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?" :-).

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
    Bookmark Topic Watch Topic
  • New Topic