> The problem is that I have dropdowns for month and day. I would like > it if the dropdown for month could be prepolutated with the value the > user has allready saved before. So for example it could be > prepoluted with "February" and the user can select another value from > the dropdown if he/she wishes to change it. > > Any ideas/hints/code would be helpful,
I usually do something like this: <html:select property="month"> <html:optionsCollection name="months" /> </html:select> Where "month" is the selected month and "months" is a LabelValueBean[] containing Jan, Feb, Mar, etc. I have my Action class set the form's value for month so it is pre-selected in the list. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]