ahh. yeah, i added just plain <html:options to the page and that didn't work. i'll see if i can get rid of the javascript and just submit with a button to test this out...
Thanks Jim andy On Thu, 15 Jul 2004 13:43:18 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > -----Original Message----- > > From: Andrew Close [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 15, 2004 1:40 PM > > To: Struts Users Mailing List > > Subject: Re: <html:select><html:optionsCollection> > > > > > > -- Jim wrote: > > > I don't think there is a better way, I'm just suggesting > > maybe hardcoding those to drop downs for testing purposes, > > and eliminate the JS. You're JSP looks right, and I'm > > assuming that your form bean has the return values as arrays > > if their multi-select, or single strings and they're > > otherwise set up exactly the same. > > > Technically you're submitting the same form twice, so it > > should be working. I'm wondering if it will work without the > > javascript based on the theory of boiling down the problem to > > it's aboslute basics, and that would be: are you in fact set > > up correctly to submit 2 select tags at once. > > > > > > hmm. i see what you're saying. > > my form bean does have two string values with getters and setters, one > > for each dropdown. i'll try hard coding one and removing the other > > and see what happens. if this works then i still have to figure out > > if the issue lies in the form/action or if it's in the > > <html:select/option tags... > > Close, I'm suggesting that you leav out the JS, keep the JSP and action form the > same, and maybe add a submit button to the page. You might want to try using > <html:option just for some dummy values to see if they both make it to the action. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]