p:dialog values are not binding to jsf bean

in your xhtml page if you are keeping <p:dialog> inside <h:form> .then it will not able to set in the bean .

so the correct structure is :

<h:form id=”mainform”>

</h:form>

<p:dialog>

<h:form id=”dialogform”>

</h:form>

</p:dialog>

 

Advertisements