I am trying to populate the table with dropdowns and each row contains the 3 drop downs (
Hi Suman
well, the problem lies on the “Choices” inside of the dropdown control. Probably, your dropdown control in the row has a binding like this for its Value:
#{row.docType}
And a binding like this for the Choices:
#{myDropdown.possibleDocTypes}
The second binding will be always “pointing” to the same value, independently on the row.
To get the ids of the rows in your table:
var table = CAF.model("#{activePageBean.clientIds['yourTable']}");
var rows = table.list();
hope this helps,
Javier