O'Reilly logo

JavaServer Faces by Hans Bergsten

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

<lifecycle>

Synopsis

The <lifecycle> element declares lifecycle phase listeners.

Syntax

<lifecycle>
  <phase-listener>phaseListener</phase-listener>
</lifecycle>

The <phase-listener> element contains the fully qualified class name that implements the javax.faces.event.PhaseListener interface.:

<lifecycle>
  <phase-listener>com.mycompany.MyPhaseListener</phase-listener>
</lifecycle>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required