Having multiple dialog in same page using Include

Post Reply
goodyzain
Posts: 2
Joined: 17 May 2016, 13:00

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 :oops: :oops:

:cry: 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

User avatar
aragorn
Posts: 2175
Joined: 29 Jun 2013, 12:38

21 Jan 2017, 13:42

Hi @goodyzain,

Can you please attach sample pages for us to replicate? Also, I think this issue is not a Layout or Theme. Can you please try it without Atlas Layout+Theme?

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest