Still trying to get my problems with page loaders firing like crazy in JSF>
From this link: http://www.javabeat.net/tips/122-jsf-best-practices.html
It appears that if I put a that it will fire once when entering the page.
However, it fires like 4 times when LEAVING the page, kind of defeats the point. Any ideas?
It “fires” whenever the phase changes. You can make your code in the phase listener be triggered only on certain phases, by adding a condition comparing
event.getPhaseId()withPhaseId.RESTORE_VIEW, for example.