Having multiple dialog in same page using Include
Posted: 17 Jan 2017, 06:43
I have three pages MainTab.xhtml,editFirstapage.xhtml,editSecondPage.xhtml where edit Pages have dialog s respectively, the buttons are in MainTab.xhtml the first dialog works fine but when i click on second button its throws me Jquery ERROR...
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
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