Use an <f:event> tag to invoke a method for example on preRenderView lifecycle stage:
<f:event type="preRenderView" listener="#{controllerBeanName.methodName}"></f:event>

Articles, notes and random thoughts on Software Development and Technology
Use an <f:event> tag to invoke a method for example on preRenderView lifecycle stage:
<f:event type="preRenderView" listener="#{controllerBeanName.methodName}"></f:event>