• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF  RSS feed

 
goutham pendme
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to add some features to FacesServlet.SO i want to do this by extending LifeCycle class and overriding execute method as this method is called in service method which handles all life cycle.Can anyone help me can i override the method and if then i ahve to specify in faces-config xml as controller should pass to the overidden lifecycle class not to default class.How should i do this???
[ December 26, 2006: Message edited by: goutham pendme ]
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What type of functionality do you want to add. Can you use filter to do so?
 
goutham pendme
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As JSF doesn't support Exception handling perfectly.So i got some Exception classes which are put together as a framework.So if run that logic in LifeCycle.execute method i.e overriding the execute method by extending Lifecycle class.By specifying that in face-config.xml file.When facesServlet is called it will pass controll to my extended LifeCycle class, as Exception handling starting point is included in execute method so by default it will run my exception handling framework and handles all exceptions.That's what i am looking for.

ok if you don't geet it leave it.
But i need one thing how to handle Excecptions in JSF perfectly can i have bit of code
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!