I have heard people suggest putting the form or even just the lists in the session (my team lead isn't fond of cramming stuff in the session).
- I have read that some people rebuild the lists after validation by calling the DB again. This doesn't seem like something that should be done in the Form...? Plus the users selections would be lost and they would be forced to fill out all of the fields on the jsp again. As a user that would be very annoying.
Merrill
Consultant, Sima Solutions
I have read that some people rebuild the lists after validation by calling the DB again. This doesn't seem like something that should be done in the Form...? Plus the users selections would be lost and they would be forced to fill out all of the fields on the jsp again. As a user that would be very annoying.
hmmm...wasn't this question just asked?
The issue seems to be that the form bean only retains the values of the Strings and Primitives after the validation. The Lists are no longer on the request when the form is rebuilt. I understand all that, no problem.