9 Replies Latest reply on Feb 18, 2008 5:16 AM by Lotfi Mellouk

    suggestionBox send name and id to backing bean

    Lotfi Mellouk Master


      Id like to use suggestionBox to display customer name, but I need the its value.

      I thought to use a4j:actionParam into suggestionBox

      <rich:suggestionbox id="suggestionCompanyId" for="companySuggest"
      tokens=",[" rules="none"
      var="result" fetchValue="#{result.name}" immediate="true">
      <a4j:support event="onselect" ajaxSingle="false">
      <a4j:actionparam name="company" value="#{result.companyId}" />
      <h:outputText value="#{result.name}" />

      the parameter send to the server is always null,as I use assignedTo or name..