Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Associative combos in a Grid

Gustavo Coelho
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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



  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic