1 Reply Latest reply on Jul 12, 2008 5:28 AM by Sergey Smirnov

    rich:suggestionbox - what comes in suggestionAction ?

    Raj K Newbie

      Hi,

      I am using rich:suggestionbox in 3.2.0

      my xhtml has a rich:suggestionbox like:

      <rich:suggestionbox id="suggestionBoxId" for="text"
      suggestionAction="#{SearchController.autocomplete}" var="result"
      nothingLabel="Nothing matched" columnClasses="center">
      <h:column>
      <f:facet name="header">
      <h:outputText value="123"></h:outputText>
      </f:facet>
      <h:outputText value="#{result.name}" />
      </h:column>
      </rich:suggestionbox>

      What should be my function autocomplete() look like ???

      Anyone implemented this rich:suggestionbox ??