wood burning stoves 2.0*
The moose likes Struts and the fly likes Help on Multiple Records updation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Help on Multiple Records updation" Watch "Help on Multiple Records updation" New topic
Author

Help on Multiple Records updation

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
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


Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

Rahul,
What is the problem/question?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Exactly this is the problem: "what is the problem?" :-).

./pope


blog - InfoQ.com
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
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 ?


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help on Multiple Records updation
 
Similar Threads
Struts 1 -- Wrong data displaying in my JSP page
Ajax, Struts, and a few pesky event based issues
Listing and Action Form Validation
I am unable to find error in this program.
problem Div tag with If()