Primefaces : How call window refresh in a component event ?

Some times nothing works very well when you are programming with jsf and primefaces, so you decide call a function in javascript to refresh de screen. This is a exemple to do it:

oncomplete=”window.location.reload();”

Leave a comment