1 Reply Latest reply on Oct 13, 2008 12:55 AM by agrimm

    Multiple depended comboboxes

    dh2k7

      Hello,

      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?
      Thanks
      Dirk

        • 1. Re: Multiple depended comboboxes

          Hi,

          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.

          Achim