Uncaught TypeError: Cannot read property 'show' of null
at Object.onco
Interestingly i included dialog of editSecondPage into MainTab.xhtml so it worked fine BUT the first dialog is not working now
Moral ONLY ONE DIALOG is working at a time Please help here is the code
This is how i am including
Code: Select all
</h:form> //MainTab.xhtml tab ends here
<ui:include src="./pages/editFirstPage.xhtml" />
<ui:include src="./pages/editSecondPage.xhtml" />
The other two pages have its own forms