I have the following confirm dialog on my page:
Code: Select all
<p:confirmDialog
message="You are not allowed to greet a person named #{person.firstname}."
showEffect="explode" header="Access Denied" modal="true"
severity="alert" widgetVar="accessDeniedDialog"
visible="#{flashScope.accessIsDenied}">
<p:commandButton value="Back" onclick="accessDeniedDialog.hide()" type="button" />
</p:confirmDialog>
But even when the variable is true the dialog does not show.
What's wrong?
Regards,
Florian
PS. I am using Primefaces 1.1 (I am currently not able to update).