Search This Blog

Monday, November 19, 2018

JSF events inside the section of your JSF applications.

<f:metadata>
  <f:viewParam name="keyword" value="#{adsenseController.keyword}"/>
  <f:event type="preRenderView" listener="#{adsenseController.doSearch}"/>
</f:metadata>

A standard JSF event, preRenderView, is frequently used together with view parameters. Doing so, your parameterized JSF page can be stored as a bookmark in the browser.