2 Drop down boxs - 2nd populated based on value of first selected
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jackie_gomes
Posted On:   Tuesday, April 29, 2003 08:28 PM


Hi All

I have 2 drop down lists. When the user selects an item

from the first list, I want the second list to change

based on what was selected. I have 2 Collection

objects, but aside from doing the usual javascript

stuff, I was wondering if there was an easier way

to do it with Struts?



Ta,



Jackie.

Re: 2 Drop down boxs - 2nd populated based on value of first selected

Posted By:   Thomas_Hackel  
Posted On:   Wednesday, April 30, 2003 02:06 AM

in any case you have to use javascript.


the least afford is to reload the page when an other item in the first box is selected. then populate the second box with items which depend from box one.


the other way is to do it completly in javascript/dhtml.


i think there are no premade strutslibs to do this for you.

About | Sitemap | Contact