4 Replies Latest reply on Jul 8, 2008 12:37 AM by markrich

    ajax update in combobox does not working.

    markrich

      Today I found there is problem in my code for the combobox.

      here is my purpose:
      I'd like to ajax update the label which displaying which I select from the combobox.

      codes are:
      <rich:comboBox value="#{comboBean.value}" suggestionValues="#{comboBean.suggestion}" >
      <a4j:support event="onselect" ></a4j:support>
      </rich:comboBox>
      <a4j:outputPanel ajaxRendered="true">
      <h:outputText value="#{comboBean.value}" id="combo_value"/>
      </a4j:outputPanel>

      the output text will not display anything whatever I select in the combobox.


      But I found it's okay if I associated the suggestions value through by <f:selectItems>

      Am I sth wrong in comboBox ???