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
html:select ... onchange=submit()
-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
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, 2003 12:48 PM
Subject: RE: Drop down selection without submit?
html:select
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:
html:select ... onchange=submit()
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Monday,
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 PM
Subject: RE: Drop down selection without submit
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
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
7 matches
Mail list logo