This is free online training course from RoseIndia. The
training course includes all the basic content that is required to understand
and work with JSF. The training starts with the introduction and usage of JSF
tags and goes through validators, convertors, events, component binding,
internationalization etc. At the end of the training, you will be introduced how
to work with database using JDBC. Examples are very simple to understand and
easy to implement in your application. Just go through the training and learn
JSF online free of cost.
b) How to download and run the training examples
Download the examples developed for the training
through the link Download
code for all examples. Extract the zip file and deploy it on your Tomcat
server. Submit the url http://localhost:8080/jsfexamples
in the browser. You will get list of running examples. You can modify and test
Using redirect element & wild card <redirect/> is an optional element which can be used
to specify that the response is generated by the new view using redirect
response rather than rendering the response as the current request.
Action Events Listener Action Listeners can be implemented in 2 ways. If you
use the first one then it will limit you to use only one listener for the
component but second way permits you to include more than one event listeners.
Value Change Event Listener Value Change Listener can be implemented in 2
ways. If you use the first one then it will limit you to use only one listener
for the component but second way permits you to include more than one listeners.
Phase Event Listener JSF life-cycle includes six phases and phase events are
fired during the start and end of each phase. We can capture phase events by
defining a Phase Listener class as below.
support like onblur, onchange, onclick, ondblclick, onfocus, onkeydown,
onkeypress, onkeyup, onmousedown, onmouseover, onmouseup, onselect etc.