Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Modal ConfirmDialog over modal Dialog -> everything is blocked

I have a modal ConfirmDialog that is shown over a modal Dialog using PrimeFaces 3.0.1. If the ConfirmDialog is opend, the whole page becomes locked, inclusive the ConfirmDialog itself... rien ne va plus

I found a Bugreport for Primefaces that sounds similar http://code.google.com/p/primefaces/issues/detail?id=576 but since the bug is related to a Layout-Component this does not really apply in my case.

Is there a workaround or something?

Thanks!!!

like image 532
treeno Avatar asked Jan 23 '12 11:01

treeno


1 Answers

use the appendToBody="true" attribute of the p:dialog tag to resolve this.

From PrimeFaces 5 on the attribute has changed. If you are using 5+ use appendTo="@(body)" instead, see the migration guide: migration guide

(It would have been helpful to know your Primefaces version)

like image 83
Mario B Avatar answered Oct 01 '22 22:10

Mario B