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

    rich:suggestionbox - what comes in suggestionAction ?

    rajk.2012

      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 ??