i'm using PrimeFaces 5, Glassfish server ver.4 and firefox as browser. I'm developing a web app via Netbeans8.0.1 where in index.xhtml page I need to show a list of tips at each login. To do this i'm using this code in my index.xhtml page
<f:event type="preRenderView" listener="#{promemoriaController.promemoriaInScadenza()}"/>
This "f:event" is outside the "f:metadata> tag. I don't know why but the f:event listner is executed twice at every login. I'm sure that the usage of the promemoriaController.promemoriaInScadenza() is only in the f:event>. Thank's a lot for your replies