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
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?
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
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
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,
-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.
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
7 matches
Mail list logo