1 Reply Latest reply on Feb 1, 2010 4:40 AM by ilya_shaikovsky

    rich:comboBox onchange not firing when selecting

    cgswtsu78

      Hello,

       

      I have the below comboBox and the valueChangeListener only gets fired when I type in the box and the select an item.  If I just use the normal dropdown functionality (click the arrow without typing) and select an item, the valuChangeEvent never gets fired.  Any ideas? 

       

       

      <rich:comboBox id="country"

                                suggestionValues="#{preferenceBean.countries}"

                                defaultLabel="Enter some value"

                                value="#{preferenceBean.countrySelected}"

                                valueChangeListener="#{preferenceBean.countryValueChange}">

                                 <a4j:support event ="onchange" reRender = "timezone"/>

                              </rich:comboBox>

       

       

      request scoped bean:

      public void countryValueChange(ValueChangeEvent e){

             System.out.println("here");

       

          }