...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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 |
---|---|
| This hook is executed before view state initialization |
| This hook is executed after initialization, but before event execution |
| This is most common used hook type. This hook is executed after event execution, just before response is send to clients browser |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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
...