title: JSF rich:suggestionbox need to filter the suggestion list by excluding the items already selected
body: <p>There is a jsf suggestion box associated with a text box. all is working fine except that i am unable to exclude the results that are already selected. the associated text box contains comma separated values. i have not found any way to make it possible to show suggestions excluding the ones already present in the text box. can i pass the text box value along-with the suggestion ajax request or any other idea?</p>
  
  <pre><code>public class ActionBean {
  
  private String contacts;
  
  public List&lt;Contact&gt; autocomplete(Object suggest) {
  
  //....
  // logic to get the list from DB based on suggestion but no data about existing selected values
  //....
  
  }
  }
  </code></pre>
  
  <p>JSF's xhtml portion of that text box and suggestion box</p>
  
  <pre><code>&lt;h:inputText value="#{actionBean.contacts}" styleClass="input mFields" id="text"&gt;
      &lt;a4j:support event="onchange" action="#{someaction...}" return;" reRender="..."/&gt;
  &lt;/h:inputText&gt;
  
  &lt;h:outputLabel value="Search and Select Name/Number or Enter Number. Use , for multiple entries"/&gt;
      &lt;rich:suggestionbox limitToList="true" id="suggestionBoxId" for="text" tokens=",[]" suggestionAction="#{actionBean.autocomplete}" var="result" fetchValue="#{result.number}" height="100" width="200" nothingLabel="No contacts found" columnClasses="center" usingSuggestObjects="true" &gt;
          &lt;h:column&gt;
              &lt;h:outputText value="#{result.name} #{result.lastName}" /&gt;
          &lt;/h:column&gt;
          &lt;h:column&gt;
              &lt;h:outputText value="#{result.number}" style="font-style:italic" /&gt;
          &lt;/h:column&gt;
      &lt;/rich:suggestionbox&gt;
  </code></pre>