• Post Reply Bookmark Topic Watch Topic
  • New Topic

Primefaces popup dialog not working

 
Raghu Sundar
Ranch Hand
Posts: 40
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,I am trying to replicate primefaces ajax dialog form as in Primefaces showcase

My JSF page is as below



My managed bean


No dialog is getting displayed on clicking submit button :(. I have also included appendToBody="true" but no result.In ie i get javascript error as "Object Expected". Please help me out to solve this issue.
 
K. Tsang
Bartender
Posts: 3610
16
Firefox Browser Java Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The onclick doesn't need the PF, just dlg.show if I remember correctly. Same goes for the oncomplete inside the the dialog.
 
Raghu Sundar
Ranch Hand
Posts: 40
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Tsang :) now it is working.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!