Dave wrote:
My apologies if this is a duplicate. I waited at least 30 minutes after sending
the confirming email.
It's a duplicate. Bear in mind that this isn't like a tech support
hotline; it's just a bunch of people that read this when we're not doing
our real work.
On my form is a bean named member. I also have a select whose options are
created by a method on member. When I access the method it appears that a new
member is constructed when the optionsCollection is created.
If you're using the standard Struts ActionForm mechanism then a new
ActionForm may be instantiated on each request (unless you've configured
it as a session-scoped form bean).
I think maybe there's something fuzzy in your logic with regards to when
you fill the bean with data needed on the form, like you're only
populating it on the initial GET request, for example.
So you have at least two options: populate the ActionForm in a
more-appropriate place or use a session-scoped bean. I'm sure the rest
of the tech support team will have other (probably better! ;) ideas as
well--there is logic in the code for deciding if an ActionForm can be
reused or not bu I don't have the time to look at it right now.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]