RE: Multiple Selects in a JSP

2002-04-01 Thread Maturo, Larry
]] Sent: Friday, March 29, 2002 2:55 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Selects in a JSP Subject: Re: Multiple Selects in a JSP From: Ken Holzer [EMAIL PROTECTED] === Thanks Larry, I was able to get this to work. I do have a related question. I have a jsp page that shows a history

Re: Multiple Selects in a JSP

2002-03-29 Thread @Basebeans.com
Subject: Re: Multiple Selects in a JSP From: Ken Holzer [EMAIL PROTECTED] === Thanks Larry, I was able to get this to work. I do have a related question. I have a jsp page that shows a history of activities I have the same two select fields on this jsp. Each row on the page is its own form so

Re: Multiple Selects in a JSP

2002-03-28 Thread @Basebeans.com
Subject: Re: Multiple Selects in a JSP From: Ken Holzer [EMAIL PROTECTED] === Hi Larry, Do you have a sample app demoing this concept? I am not sure how the Action Form, Action Class and JSP should be setup. Are the lists built in the Action Form or the Action Class? Thanks for your help

RE: Multiple Selects in a JSP

2002-03-28 Thread Maturo, Larry
list back into the session (or request) and go back to your jsp to redisplay the new list. -- Larry -Original Message- From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 12:55 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Selects in a JSP Subject: Re

Re: Multiple Selects in a JSP

2002-03-27 Thread @Basebeans.com
Subject: Re: Multiple Selects in a JSP From: Pim [EMAIL PROTECTED] === From Using Struts: http://stealthis.athensgroup.com/presentations/Model_Layer_Framework/Struts_ Whitepaper.pdf Dependent Drop-Down Combo Box Lists In many situations, you will have two combo boxes, with the contents

Re: Multiple Selects in a JSP

2002-03-26 Thread Richard Yee
The selection takes place on the browser. Therefore, you need to use JavaScript to do it. This is unless you have a large amount of different options in select #1 and need to go to the server to get the options for select #2. You'd then need to do an onchange in select #1. That would be

RE: Multiple Selects in a JSP

2002-03-26 Thread Maturo, Larry
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