I was able to solve this problem using the "oncomplete" attribute on the a4j command line. The oncomplete attribute is used to call the javascript function after the server-side process completes.
After completing the process on the server side, I called the javascript function, which called the warning window and using
document.location="../login.jsf";
I went to the login page.
Any suggestions regarding this solution are welcome.
Thanks to everyone for the answers and comments.
source
share