Do not move the mouse with p: dialog

0

Question beast but I did not find it in any corner, I would not allow the user to move the p: open dialog.

<p:dialog header="#{MyBean.select.projetos.nome}" widgetVar="lanDialog" modal="false" showEffect="blind" resizable="false">
 ...meu código...
</p:dialog>
    
asked by anonymous 17.07.2015 / 03:10

1 answer

2

Just add the draggable attribute to false .

For example:

<p:dialog header="#{MyBean.select.projetos.nome}" widgetVar="lanDialog" modal="false" 
          showEffect="blind" resizable="false" draggable="false">
    <!-- códigos -->
</p:dialog>

On page 181 of the documentation has more component specifications. You can also download the full PrimeFaces documentation here .

    
17.07.2015 / 13:56