File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Associative combos in a Grid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Associative combos in a Grid" Watch "Associative combos in a Grid" New topic

Associative combos in a Grid

Gustavo Coelho

Joined: Oct 04, 2012
Posts: 3

I need a direction to encode a screen which has a grid with a relationship between two lists of combos associative. On one side I have combo(s) of state and other combo(s) of the city, for each selected state should load the combo of town carrying all cities for this state.

I do not know how many combos of state will appear in the datatable as they would come up as a result of a iterator process.


uf [0] = 'SP'
city ​​[0] = 'Sao Paulo'
uf [1] = 'MG'
city ​​[1] = 'Belo Horizonte'
uf [2] = 'BA'
city ​​[2] = 'Savior'

My issue is to mount it on the screen, because I need to associate each combo with an item from this list and save it all by pressing a button.

As follow there is the code of the page and the associated class.

Thanks to collaboration, any instruction would be helpfull
Remembering the screen is using JSF 1.2 and



I agree. Here's the link:
subject: Associative combos in a Grid
It's not a secret anymore!