1 Reply Latest reply on Mar 9, 2009 12:35 PM by Nick Belaevski

    rich:suggestionbox and a4j:support don't cowork

    asm web Newbie

      Hi all,

      am kind of new to richfaces so I have to say that I do not know really well the behaviour.
      In my page I have a suggestion box where I pull the data from the db and I want that another component to be updated once the user has chosen from the suggestion box. This is my code


      <h:inputText id="text" />
      <rich:suggestionbox id="suggestionBoxId" for="text" tokens=",[]"
      suggestionAction="#{bean.autocomplete}" var="result"
      fetchValue="#{clients}" rows="10"
      nothingLabel="No capitals found"
      <h:outputText value="#{result.name}" />
      <a4j:support event="onselect"
      ajaxSingle="true" limitToList="true"


      the popup of the suggestion box display correctly the result but when I choose the option I don't see the a4j event fired. On firebug I see a javascript error:
      this._form is null
      Line 187

      any help would be appreciated