6 Replies Latest reply on Oct 29, 2007 11:26 AM by Jaime Martin

    [suggestionBox][aj4:suport] get param id and display param n

    Lotfi Mellouk Master


      Im using suggestion box, with a4j:support, to update form values on the suggestion select event..

      <rich:suggestionbox id="suggestionCompanyId" for="textCompany" tokens=",[" rules="none"
      var="result" fetchValue="#{result.name}" rows="0" first="0"
      minChars="2" shadowOpacity="5" border="1" width="200"
      height="150" shadowDepth="0" cellpadding="5"
      <h:outputText value="#{result.name}" />
      <h:messages />
      <a4j:support event="onselect"
       reRender="client" action="#{queryBean.findClientOf}" ajaxSingle="false" />

      how to get the result.id on the support action ??
      Id like to display the result.name and recover result.id ..