jsf/primefaces load indicator during init of the bean
问题 In my JSF/Primefaces project, I have a lot of data loading in the init (postconstruct) method of my beans. That's why I would like to show an gif indicator during the bean load. I tried with primefaces and the Ajax status (programmatic version of the showcase) http://www.primefaces.org/showcase/ui/ajaxStatusScript.jsf So I added this to the template of my project <p:dialog modal="true" widgetVar="loadWidget" header="Status" draggable="false" closable="false"> <p:graphicImage value="../images