I have a form bean with an List(i.e. Lines) of Value Objects with the normal
get/set method for the List only. Every thing works
fine when i display the data to the client. I have some thing like this:
---------
Form Bean
---------
public class myForm extends ActionForm {
private List lines = null;
public List getLines() {
return lines;
}
public void setLines(List lines){
this.lines= lines;
}
}
----------
JSP Source
----------
<logic:iterate name="myForm" property="lines" id="line">
<tr>
<td><html:text name="line" property="firstName" size="10"
maxlength="15"/></td>
My problem is trying to retrieve user changes when the form is submitted the
variable firstName in my VO is null when it should contain the
users in put.
I guess i need to add extra methods to the form bean in order to populate my
VO's correctly.... if so what format should they be??
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: Form Bean with Lists & client updates Pat Quinn
- Re: Form Bean with Lists & client updates Justin Ashworth