I wrote this code:
<p:dialog header="Bolletta" width="800" height="600">
<h:form id="newBillForm" >
<p:panel header="Dati fiscali">
<h:panelGrid columns="4">
<h:outputLabel value="Cliente *: " for="customer"/>
<p:autoComplete id="customer" value="#{billController.customerString}" completeMethod="#{customerController.autoComplete}" required="true"/>
</h:panelGrid>
</p:panel>
</h:form>
</p:dialog>
If i put the form (and all its content) outside the dialog the completeMethod works fine, but inside the dialog it doesn't work!
Any idea how to do it?