I'm working with PR 2.2.M1 version and I saw the use example from last showcase.
Well, all works fine whit the next code, without modal attribute (I guess that its modal="false")
Code: Select all
<p:commandButton value="#{msg.com_eliminar}" onclick="confirmation.show()" />
<p:confirmDialog message="#{msg.dlg_del_msg_content}"
header="#{msg.dlg_del_msg_header}" severity="alert" widgetVar="confirmation">
<p:commandButton value="#{msg.dlg_msg_si}" update="msgs, mensajes, growl" oncomplete="confirmation.hide()"
actionListener="#{mensajesEnviadosRecibidosBean.eliminarMensajes}" />
<p:commandButton value="#{msg.dlg_msg_no}" onclick="confirmation.hide()" type="button" />
</p:confirmDialog>
Code: Select all
<p:commandButton value="#{msg.com_eliminar}" onclick="confirmation.show()" />
<p:confirmDialog message="#{msg.dlg_del_msg_content}" modal="true"
header="#{msg.dlg_del_msg_header}" severity="alert" widgetVar="confirmation">
<p:commandButton value="#{msg.dlg_msg_si}" update="msgs, mensajes, growl" oncomplete="confirmation.hide()"
actionListener="#{mensajesEnviadosRecibidosBean.eliminarMensajes}" />
<p:commandButton value="#{msg.dlg_msg_no}" onclick="confirmation.hide()" type="button" />
</p:confirmDialog>
Can anybody help me?
Thanks for all!