OK, another stupid question then! How do I ensure I use the same request? (Sorry my servlet programming isn't as good as it should be! Infact all my programming isn't!)
Thanks IV > from: Nagendra Kumar O V S <[EMAIL PROTECTED]> > date: Tue, 15 Jul 2003 11:19:10 > to: [EMAIL PROTECTED] > subject: Re: Where to build dropdown lists? > > hi, > u can set the collection object as the request attribute for the first time > in the action class. > so as long u use the same request , u will not need to repopulate the list > again. > > reset is not the right place to populate ur dropdowns > > -- nagi > > -------Original Message------- > > From: Struts Users Mailing List > Date: Tuesday, July 15, 2003 02:22:41 PM > To: [EMAIL PROTECTED] > Subject: Where to build dropdown lists? > > Sorry if this is a stupid question, but any help is much appreciated! > > I have some drop down lists that I populate in my action class, which means > I call myPage.do each time. This was working nicely, until I tried adding > some validation. If this fails the action class is not called and then when > the page tries to find the bean containing the list for the drop down it > does not exist! Previously we built the lists in the reset function in the > form class, but I was wanting to move all the code out of here with the idea > of using the dyna forms. > > So I was wanting to know, is my only option to build my dropdowns as part of > my reset functions? > > Thanks for any help > IV > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > . http://www.amazon.co.uk/exec/obidos/redirect-home?tag=velloscouk-21&placement=home_multi.gif&site=amazon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]