JSF example: event before loading view

<h:body>
       <f:metadata>
             <f:event type="preRenderView" listener="#{showController.pr()}"/>
       </f:metadata>
 <!-- ... -->
</h:body>

Your listener:

 public void pr(ComponentSystemEvent event) {
       // ...
   }

Comments

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file