title: Jsf RichFaces autocomplete : get the InputValue for autocomplete- method()
body: <p>Part of my xhmtl-Page:</p>
  
  <pre><code>&lt;rich:autocomplete autocompleteMethod="#{autocompletMit.searchbyName()}" mode="cachedAjax" 
                             fetchValue="#{controller.mitarbeiter.mitarbeiterName}" autocompleteList="#{autocompletMit.autocompleteList}" minChars="1" autofill="true" var="it" &gt; 
      &lt;h:outputText value="#{it.mitarbeiterName}" style="font-weight:bold"/&gt;  
      &lt;/rich:autocomplete&gt;
  </code></pre>
  
  <p>Bean for my Autocomplete:</p>
  
  <pre><code>@ManagedBean(name = "autocompletMit")
  @RequestScoped
  public class AutoCompleteMitarbeiter implements Serializable {
  
      @EJB
      private Transaktionssteuerung transakt;
      private List&lt;String&gt; autocompleteList = new ArrayList&lt;String&gt;();
      String nameSearch;
  
      public List&lt;String&gt; searchbyName(Object o) {
          String test = (String) o;  
          List&lt;Mitarbeiter&gt; alleMitarbeiter = transakt.alleMitarbeiter();
          for (Iterator&lt;Mitarbeiter&gt; it = alleMitarbeiter.iterator(); it.hasNext();) {
              if (it.next().getMitarbeiterName().startsWith(test)) {
                  autocompleteList.add(it.next().getMitarbeiterName());
              }
          }
              return autocompleteList;
       }
  //getter &amp; setter
    }
  </code></pre>
  
  <p>I always get "Unkown property searchbyName" in my .xhtml for <code>autocompleteMethod="#{autocompletMit.searchbyName()}"</code> because he excepts a value... Which value do i have to submit here?!?</p>