jsf - Initialize autocomplete with text on primefaces -


when run form need initialize autocomplete text , code not working me. error point?

the code autocomplete primefaces.

<h:outputlabel      for="chamadodescricao"      value="chamado" /> <p:autocomplete      id="chamadodescricao"      value="#{ordemservicoservicosbean.chamado}"     completemethod="#{agendamentobean.autocompletechamado}"     converter="entityconverter"      var="auto"     itemlabel="#{auto.chamado} - #{auto.tituloproblema.trim()}"     itemvalue="#{auto}"      size="50"      label="chamado">                                             <h:outputtext value="#{auto.agendamentobean.selected.chamado.chamado} #{auto.agendamentobean.selected.chamado.tituloproblema}"/> </p:autocomplete> 

<h:outputlabel                                                                         value="chamado"/>                             <p:autocomplete                                                                              value="#{ordemservicoservicosbean.chamado}"                                     completemethod="#{agendamentobean.autocompletechamado}"                                     converter="entityconverter"                                      var="auto"                                     itemlabel="#{auto.chamado} - #{auto.tituloproblema.trim()}"                                      itemvalue="#{auto}"                                      size="50"                                                                    id="keyword">                                                                                                    


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -