Easy learning with example program codes

Jsf event handling tutorial


Happening of something is known as an event.

JSF event handling:

In JSF when a button is clicked or change value in text filed etc then corresponding JSF component create an instance of the corresponding event class and adds the event to the event list. After adding the event in the event list JSF component call the corresponding listener or handler method.

Note: JSF also provides the facility to handle the application level events which happens when application start or stop.

JSF Events:

Event Handlers                               Description
  1. valueChangeListener
JSF fired value change events when user make changes in input components.
  1. actionListener
JSF fired action events when user clicks on a button or link component.
  1. Application Events
JSF fired application events when application start or stop or during JSF lifecycle: PostConstructApplicationEvent, PreDestroyApplicationEvent, PreRenderViewEvent.


Industrial Training

We offers Placement Oriented Training on Java, Spring, JSF, Hibernate, PHP, AngularJS, Angular 4, PLSQL, Oracle BI Publisher etc. We also provides Online training, please mail us at


We also provides the Development services for Website Development , Java Development, PHP Development, Android App Development etc. You can contact us on

Copyright © 2019 CodesJava Protection Status SiteMap Reference: Java Wiki