On Tue, Apr 12, 2011 at 1:16 PM, Eric Lentz wrote: > <s:select name="user.gender" ... list="genderList" /> > > If I add a validation file, validating anything, not even specifically the > list, the page fails telling me that the [gender list could not be found]. > > This seems like a bug.
I second Chris's suggestion to initialize the list when you need it. It's a new request, so there's no reason the list would still be there, unless you've put it in session. Any time you do a round trip to the server, the request attributes go away--that's just the nature of request attributes. If your concern is extra DB comms then I'd recommend implementing any of several caching solutions to avoid an actual DB round-trip each time. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org