You should post over on the users list.

I'll copy it over for you.

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://struts-atlanta.open-tools.org

> -----Original Message-----
> From: Raman, Ganapathy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 12:39 PM
> To: 'Struts Developers List'
> Subject: re-populating dropdown boxes
>
>
> I've just started a project on struts and i'm facing a problem while doing
> validations in ActionForm. Say if i have a textbox and a dynamically
> generated dropdown box in my page and both the fields are mandatory. I
> select a value in the dropdown but do not enter anything in the textfield.
> The ActionForm performs the validation and returns an
> ActionError. But when
> i'm repopulating the screen i do not have all the dropdown values in my
> FormBean (only the selected value is sent as part of request). How do i
> handle this situation if i should not make any database calls
> from the JSP.
> I'm sure that this is a standard problem and most of you guys
> would've faced
> this. It would be great if someone can let me know what is the
> right/approppriate way to handle this.
>
> Thanks in advance,
> Gana
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to