--- 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
: 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
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.
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
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
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
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
7 matches
Mail list logo