Hi Ken,

Yes, but by using a small amount of JavaScript:

<html:select property="orgId" onchange='document.forms[0].submit()'>
        html:options collection="orgList" property="value"
labelProperty="shortName"/>
</html:select>

You should 0 out the string field orgId in your form bean so that you
can tell a selection was made comparing it to 0.

-- Larry Maturo
   [EMAIL PROTECTED]

-----Original Message-----
From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 4:25 PM
To: [EMAIL PROTECTED]
Subject: Multiple Selects in a JSP


Subject: Multiple Selects in a JSP
From: "Ken Holzer" <[EMAIL PROTECTED]>
 ===
I have two selects in my JSP and I want to be able to dynamically change the
options of the 2nd select based on the choice selected from the 1st select.

Is there a way to do that using the Struts tags?

Thanks,

Ken



--
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