How to use with String as value property and list of POJO as completeMethod
I'm not sure if this is possible ... but I'd like to use the autoComplete component, where the value attribute is of type String and where the completeMethod returns a List of some heavy object. It is also a requirement for me to use forceSelection="false" This is what I think should work (but doesn't): <p:autoComplete id="it_demandeur" value="#{utilisateurDemandeurCtrl.critereRechercheDemandeur}" var="demandeurItem" itemLabel="#{demandeurItem ne null ? demandeurItem.numeroOW.toString().concat(' - ').concat(demandeurItem.nom) : ''}" itemValue="#{demandeurItem.nom}" completeMethod="#{utilisateu
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.