Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
themeEclipse
linenumberstrue
<hookType beanclass="beanClassclassName" method="beanMethod" />

Where:

  • hookType - is type of hook
  • beanClass className - class (path + name) which contains hook method
  • beanMethod - name of hook method that should be executed
6.1.1. view hook types

hook type

description

preInitializeHook beforeInitalize

This hook is executed before view state initialization

postInitializeHook afterInitialize

This hook is executed after initialization, but before event execution

preRenderHook beforeRender

This is most common used hook type. This hook is executed after event execution, just before response is send to clients browser

...

Code Block
languagexml
themeEclipse
linenumberstrue
<listener event="eventname" beanclass="beanClassclassName" method="beanMethod" />

Where:

  • eventname - name of event on which this lisiner is waiting
  • beanClass className - class (path + name) which contains listener method
  • beanMethod - name of listener method that should be executed when event is fired

...