• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSF

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic