In my application I need to use dialogs and confirmDialog with modality.
However, when I use "modal='true'", my dialog block all of the page, and you cannot use buttons in dialogs.
I tried to change z-index, but it didn't work. Also I tried in firefox, IE and Chrome, but there was no change.
When I type, "modal='false'" everthing works fine.
Here, my codes..
Code: Select all
<h:form>
(...)
<p:dialog header="Comment" draggable="false" resizable="false" width="300" height="200" widgetVar="commentDialog" modal="true">
<h:panelGroup id="commentDialogUpdate">
<h:inputTextarea value="#{userTaskListBean.dialogComment}" disabled="true" styleClass="textarea"/>
</h:panelGroup>
</p:dialog>
</h:form>
thank you