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 placed the form (and all its contents) outside the dialog box, then completeMethod works fine, but inside the dialog box it doesn't work!
Any idea how to do this?
source share