RE: about dependent lists

2003-07-23 Thread Paul McCulloch
put the cursor back where it was when the page was submitted. Edgar > -Original Message- > From: Amit Kirdatt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 22, 2003 4:24 PM > To: 'Struts Users Mailing List' > Subject: RE: about dependent lists > > >

RE: about dependent lists

2003-07-23 Thread Edgar Dollin
where it was when the page was submitted. Edgar > -Original Message- > From: Amit Kirdatt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 22, 2003 4:24 PM > To: 'Struts Users Mailing List' > Subject: RE: about dependent lists > > > I am assuming both

Re: about dependent lists

2003-07-22 Thread isaac
On 7/22/03 2:23 PM, "Amit Kirdatt" <[EMAIL PROTECTED]> wrote: > Hi, Guys: > > I have two lists, when I select an item from the first > list, the second list will be populated based on the > selected item. The results will be got from database > in action class. The first list will be pre-populate

RE: about dependent lists

2003-07-22 Thread Amit Kirdatt
I am assuming both lists are present on the same page! If so on the first list have a onChange javascript event which calls a function that submits the page. When the page is submitted you get the value the user selected on the first list. Use this value to populate the second list in the form, pu