I've got a form with text fields and drop down list boxes which is fully
populated by an init action before the form is displayed.  The user can then
make changes and submit the form, which in turn calls the validate function
on my form object.  If I detect invalid input, I return one or more errors
from my validate function and the errors are displayed by struts along with
the form they were changing.  The problem I am having is that struts seems
to remember and populate all the text fields correctly when it redisplays
the form with the errors, but the drop downs are empty.  I know of a couple
ways I could repopulate the drop downs, but I was wondering why struts
remembers what's in the text fields, but not in the drop downs?  Am I
missing something, or is this how it works?


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to