jakartaee / faces

Jakarta Faces
Other
102 stars 54 forks source link

Faces 4.0: Add FacesContext#getLifecycle() #1557

Closed BalusC closed 3 years ago

BalusC commented 3 years ago

There's currently no way in the entire JSF API to programmatically obtain the currently used Lifecycle.

It would primarily be useful for programmatically adding and removing application-wide phase listeners.

BalusC commented 3 years ago

PR created in Mojarra repo: https://github.com/eclipse-ee4j/mojarra/pull/4834

BalusC commented 3 years ago

Should also be added to FacesContextWrapper.

tandraschko commented 3 years ago

Also implemented in MyFaces