I have an autocomplete with the code below.
<p:outputLabel styleClass="rotulos" value="Fornecedor:" />
<p:autoComplete id="inputfornecedor" update="msgcontapagar"
value="#{contapagarBean.object.fornecedor}" effect="fold" completeMethod="#{contapagarBean.completeFornecedor}"
converter="fornConverter">
</p:autoComplete>
I'm looking for a way to case the vendor does not match any listed popup a popup button with the option to add it.