I am trying to use Omnifaces generic Converter in Primefaces autocomplete component Like this :
<p:dataTable id="transactiondetailsid" value="# {stockTransactionsBean.stkTransHeader.stkTransDetailsList}" var="stkTransDet" rowIndexVar="rowIndex">
<p:column>
<f:facet name="header">
<h:outputText value="Item Code" />
</f:facet>
<p:autoComplete id="dd" dropdown="true" autocomplete="true"
value="#{stkTransDet.item}" var="i" itemLabel="#{i.itemnamee}"
itemValue="#{i}" converter="omnifaces.SelectItemsConverter"
completeMethod="#{stockTransactionsBean.completeItems}" forceSelection="true"
scrollHeight="250" minQueryLength="3" maxResults="30" queryDelay="1000" size="20" />
</p:column>
</p:dataTable>
But its not working because omnifaces.SelectItemsConverter depend on f:selectItems tag which can not be used inside p:autoComplete
Any suggestions or work arounds ????