aspose file tools
The moose likes Struts and the fly likes populating list boxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "populating list boxes " Watch "populating list boxes " New topic
Author

populating list boxes

C Vivek
Ranch Hand

Joined: Oct 03, 2004
Posts: 115
Hi Guys,
How do I populate list boxes based on the response of the previous one.
For Example, if I have a combo box with countries, the response of a user click should result in another combobox populating states of that country.

could you please list the technologies used. Where I can I write the logic. Can it be done at the clients end using Javascript? What is the best way?

Thanks in Advance
Abhilash George
Greenhorn

Joined: Apr 28, 2006
Posts: 13
yes it can be done ,
you need to ensure that for the onchange of the list call an action
by calling the javascript function.

regards


george
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: populating list boxes