RE: Drop down selection without submit?

2003-10-20 Thread Wendy Smoak
Katelyn wrote: > I've populated the option list. But I want one of the > options marked as selected, how could I do that? Set the corresponding form bean property, and Struts will pre-select the matching option in the drop-down. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State Uni

Re: Drop down selection without submit?

2003-10-20 Thread Barry Volpe
oops! like this: eForm.setCountry("US"); - Original Message - From: "Barry Volpe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, October 20, 2003 1:47 PM Subject: Re: Drop down selection without submit?

Re: Drop down selection without submit?

2003-10-20 Thread Barry Volpe
I think you do something like this in your action: eForm.setCountry(rs.getString("US")); - Original Message - From: "Xiuyu Zhang" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, October 20, 2003 1:31 P

RE: Drop down selection without submit?

2003-10-20 Thread Xiuyu Zhang
I've populated the option list. But I want one of the options marked as selected, how could I do that? Thanks, Katelyn --- "Nicholson, Robb" <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > From: Barry Volpe [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 3:33 PM > To

Re: Drop down selection without submit?

2003-10-20 Thread Barry Volpe
eate the cities menu from the collection in my form. Does that make sense? Thanks, Barry - Original Message - From: "Nicholson, Robb" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, October 20,

RE: Drop down selection without submit?

2003-10-20 Thread Nicholson, Robb
-Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 3:33 PM To: Struts Users Mailing List Subject: Drop down selection without submit? Hi, I would like to make a selection from a drop down menu and call an action without using a submit button.

RE: Drop down selection without submit?

2003-10-20 Thread Mike Jasnowski
You can launch a URL when the "onselect" event handler is invoked for the select box I believe. -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 3:33 PM To: Struts Users Mailing List Subject: Drop down selection without submit? Hi, I would li