I have a login screen where I have a Dialog with the Login and Password fields. I wish he would open it as soon as the screen was opened. I read that from version 4.1 of primefaces I have to call Dialog this way: PF('widgetVar').show()
but where can I call this Dialog?