1 Reply Latest reply on Jun 3, 2013 9:03 AM by lfryc

    rich:autocomplete : value problem

    med7sassi

      The problem it shows me toString of the object returned from the method autocomplet (the method of autocomplete returns List <EmployeeDTO> and not List<String> )

      I want the value selected from the list appears

       

       

      <rich:autocomplete

                                                                                                          autocompleteMethod="#{workflowValidationDelegationSearchBackingBean.suggestDelegate}"

                                                                                                          var="delegate"  value="#{workflowValidationDelegationSearchModelBean.searchCriteria.delegateName}"

                                                                                                          fetchValue="#{result.firstName}">

                                                                                                          <h:column>

                                                                                                                    <h:outputText

                                                                                                                              value="#{delegate.firstName} #{delegate.lastName}" />

                                                                                                          </h:column>

      </rich:autocomplete>