|
The handler entry provides means of entry method bindings for the handler methods, on objects exposed to the bean, or backing bean, as they called on the platform.
In the alternate, an anonymous handler could be specified, in the Swing style. Whenever there is a handler-class entry, it is the latter that is assumed.
This is reflected in the implementation code using nested components as shown below:
<h:commandButton value="Next">
<f:actionListener type="com.myapp.NextPageListener"/>
</h:commandButton>
Any class specified must subscribe to a listener interface, which would determine which nested tag to use.
The two standard listeners f:actionListener and f:valueChangeListener.
|