We need 4 depended comboboxes (country, city, university, course).
How can we solve this best?
I've tried a h:selectOneMenu and added a a4j:support for the onchange event. This first works pretty fine.
But when I select the first, the second gets updated, when I then select another value in the first, I get a NoSuchElementException for the second combobox....
Are there any examples for this out there?
have you tried to clear the value-binding of the depended combobox. I.e. After changing the country, set the selected value for city to null or the first value of the city.