7 Replies Latest reply on Jan 9, 2010 8:01 PM by I need a real name

    rich:comboBox's valueChangeListener does not work?

    I need a real name Newbie


      I don't get valueChangeListener to work :(
      The function is never invoked when I
      change the selection in the comboBox.

      What I'm doing wrong?

      Really need help, thank you!

      <rich:comboBox value="#{currentCountry}" suggestionValues="#{mybean.getCountries()}" directInputSuggestions="true" valueChangeListener="#{mybean.onCountrySelected()}" defaultLabel="Select a country..." />

      public class XYZ implements XYZInterface {     
           public void onCountrySelected(ValueChangeEvent ev) {
                log.info("onCountrySelected() invoked!");