This discussion is archived
1 Reply Latest reply: Dec 12, 2011 9:04 AM by Nico RSS

JSF Life Cycle

903515 Newbie
Currently Being Moderated
We have a requirement where, when we save a form it should show validation errors and save the form in the DB. As per JSF life cycle, when there are errors in "Validation" phase, rest of the life cycle will not be processed and errors will be rendered to the screen. Our functionality is to display the errors as well as save the contents of the form.
Is there any way we can achieve this writing JSF Custom life cycle? If yes, could you please point me to an example?

Thank You,
Jab
  • 1. Re: JSF Life Cycle
    Nico Newbie
    Currently Being Moderated
    Hi Jab, maybe this can help you: http://insights2jsf.wordpress.com/2009/07/20/using-a-custom-lifecycle-implementation-to-handle-exceptions-in-jsf-1-2/

    It refers to jsf 1.2.

    Bye, Nico

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points