aspose file tools*
The moose likes JSF and the fly likes populate a drop down based on the value of another drop down which are in a data table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "populate a drop down based on the value of another drop down which are in a data table" Watch "populate a drop down based on the value of another drop down which are in a data table" New topic
Author

populate a drop down based on the value of another drop down which are in a data table

Vaibhav Mittal
Greenhorn

Joined: Jun 11, 2008
Posts: 23
I am stuck with something. I have a data table which contains two drop downs. One is populated based on the value of the other. The problem is- in each row, the dependent drop down(if i may call it that) is populated based on the value of the first drop down that is selected for a particular row.


As you can see, the route number drop down has to populated based on the selection of the pickup point. I am able to get the pick up point id of the selection that is made on the first drop down(which is pickup point) but i am unable to catch hold of the corresponding drop down for route. Any ideas or thoughts would be very helpful. Thanks.

"Life is good"
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: populate a drop down based on the value of another drop down which are in a data table