I know I shouldn't post to this list about this but I've tried everything else.
I've sent the unsubscribe email, I've sent an email to the mailing list owner but I
havn't got a reply from either, not even the automated one.
Would someone PLEASE remove me from the dev list.
Thanks,
Chris Book
Your form is probably in the request scope. If you put your form in the
session scope, then your fields will remain.
The problem is that the form is destroyed and recreated with the fields that
you posted. Instead of putting lists (for selects) in the form, populate
them every time in the
You have to direct your form to the action, not to the jsp.
The action then returns a forward to the jsp.
Chris Book
-Original Message-
From: Kedar Upadhye [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 04, 2002 11:19 PM
To: Struts developer list
Subject: Action handler problem.
When struts populates the fields of a form bean after a form is submitted,
is there an order to which set methods are called.
When using nested tags, input items submitted as whatever[2].property call
myForm.getWhatever().setProperty(2,value)
but since I'm using a request scope form bean, the
I've had the same problem before. You're probably setting the options list
in your form before hand like so:
form.setListOptions(someList);
But on the next request your form is recreated and you're not repopulating
the value.
What you should be doing is in the getListOptions method of the form,