confirmDialog always disabled/in the background (3.0 M3)

UI Components for JSF
Post Reply
Siebert76
Posts: 10
Joined: 11 Aug 2011, 20:31

05 Sep 2011, 16:39

Hey folks,

I dont know whether it is intended or not, but after I open a dialog via :

Code: Select all

<p:commandButton value="open dialog" onclick="dialog.show()"/>
the resulting dialog window is always in the background. I reinstalled 3.0 M2 and it works fine... so I doubt that the mistake lays in the code.

Regards,

Siebert

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

05 Sep 2011, 16:42

Do you have a modal dialog? Place it close to body tag.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Siebert76
Posts: 10
Joined: 11 Aug 2011, 20:31

06 Sep 2011, 16:19

Thx, I'll try that. But may I ask why this is necessary ? Does Primefaces automatically disable anything after the first component in the body, when showing a modal-dialog ? I really would like to understand the mechanism behind it.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

06 Sep 2011, 17:43

ConfirmDialog as of M3 is always modal.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 63 guests