JSF actionListener Tag

Ads

This tag is used to add a action listener to the component associated with the enclosing tag. When user does an event on the component then this action takes place.

JSF actionListener Tag

This tag is used to add a action listener to the
component associated with the enclosing tag. When user does an event on the
component then this action takes place. The class where this action is
defined implements ActionListener interface. In this example this class
is "MyBean.java" in roseindia package. Within this class
a method processAction() is written, where we write our logic of action.