How will i write My custom lifecycle listner for jsf 2
For jsf 1.2 BalusC has provided good tutorial but in JSF2 we do not have faces-config.xml
can we use faces-config.xml.if yes can you please provide me sample..If no then how do we register listners in jsf 2.0
Thanks A Lot
How will i write My custom lifecycle listner for jsf 2 For jsf 1.2
Share
You can still create the file faces-config.xml and put in WEB-INF folder. The header of your faces-config.xml should look like this:
Notice that the version is now 2.0.