I checked the z-index, but the Dialog z-index is higher than the div of overlay. It was to be correct.
我检查了z-index,但Dialog z-index高于overlay的div。这是正确的。
In the showcase works correctly.
在展示正常。
Could you help me with this problem?
你能帮我解决这个问题吗?
2 个解决方案
#1
19
Set appendToBody = true
and your problem will go away - but be careful to have a form inside if you do some server-side processing. More info when you post more info!
设置appendToBody = true并且你的问题会消失 - 但是如果你做一些服务器端处理,请注意在里面有一个表单。更多信息,当您发布更多信息!
#2
11
For primefaces 5.1 you can use appendTo="@(body)"
对于primefaces 5.1你可以使用appendTo =“@(body)”
#1
19
Set appendToBody = true
and your problem will go away - but be careful to have a form inside if you do some server-side processing. More info when you post more info!
设置appendToBody = true并且你的问题会消失 - 但是如果你做一些服务器端处理,请注意在里面有一个表单。更多信息,当您发布更多信息!
#2
11
For primefaces 5.1 you can use appendTo="@(body)"
对于primefaces 5.1你可以使用appendTo =“@(body)”