Re: Populating complex java objects in forms

2002-03-11 Thread keithBacon
--- Jon Ferguson [EMAIL PROTECTED] wrote: Do you have the appropriate setXXX() method on the customer for name? Jon Charlesworth, Chico wrote: Hi, If I've got a complex java object (i.e Customer) in the Form class, I can then read off this object in the jsp page, but when

RE: Populating complex java objects in forms - PROBLEM SOLVED, BUT IS THIS A BUG IN STRUTS?

2002-03-11 Thread Alex Paransky
: Friday, March 08, 2002 2:41 AM To: 'Struts Users Mailing List' Subject: RE: Populating complex java objects in forms - PROBLEM SOLVED, BUT IS THIS A BUG IN STRUTS? I've found that my problem is that my Customer instance was not initialized in the Form class, but I wouldn't have thought

Re: Populating complex java objects in forms

2002-03-08 Thread Jon Ferguson
Do you have the appropriate setXXX() method on the customer for name? Jon Charlesworth, Chico wrote: Hi, If I've got a complex java object (i.e Customer) in the Form class, I can then read off this object in the jsp page, but when submitting to the Action class the Customer object is null.

Populating complex java objects in forms

2002-03-07 Thread Charlesworth, Chico
Hi, If I've got a complex java object (i.e Customer) in the Form class, I can then read off this object in the jsp page, but when submitting to the Action class the Customer object is null. The jsp would look like: html:form action=/updateCustomer Customer Name: html:text

RE: Populating complex java objects in forms

2002-03-07 Thread Ronald Haring
yes you can do that but do you have a getCustomer() and setCustomer() method in your formbean? Gr Ronald -Original Message- From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 5:56 PM To: 'Struts Users Mailing List' Subject: Populating complex java

RE: Populating complex java objects in forms

2002-03-07 Thread Charlesworth, Chico
ive got my getter and setter methods in my formbean ... any other ideas? chico -Original Message- From: Ronald Haring [mailto:[EMAIL PROTECTED]] Sent: 07 March 2002 17:04 To: 'Struts Users Mailing List' Subject: RE: Populating complex java objects in forms yes you can do that but do

RE: Populating complex java objects in forms

2002-03-07 Thread Charlesworth, Chico
Mailing List Subject: AW: Populating complex java objects in forms maybe check the scope of your form beans, maybe the one in the form is held in the session, and the one your action is expection should be in the request. If that happens struts generates a new form bean which is empty