A good example is in the struts-exersize-tablib.war in the struts/webapps
dir
look at html-select.jsp
You can create a collection of OptionBeans and select it or explicitly set
each option. There are examples of both in this jsp.
Mike

----- Original Message -----
From: "Smith, Johnathan M." <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 09, 2002 1:01 PM
Subject: RE: Select Options


> Can you please help me some more with details
>
> -----Original Message-----
> From: Carl Bacher [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 09, 2002 12:59 PM
> To: Struts Users Mailing List
> Subject: Re: Select Options
>
>
> <html:select property="name_of_property_in_form_bean">
>
> Smith, Johnathan M. wrote:
>
> >I am trying to find out how to make a select (dropdown list) selected a
> >option at the time of the page is loaded.  Sample
> >
> >1) I selected a option from my dropdown box and and click submit button
> >2) The FormAction find that I did not entered all the requested text boxs
> >and it redisplays the page
> >
> >at this time I would like the option I selected to be reselected!
> >
>
> --
> 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