jakartaee / jakartaee/faces

Need events before and after the entire JSF lifecycle processing

Open
#871 7 comments 0 reactions 0 assignees View on GitHub
Component: Lifecycle Priority: Minor Type: Improvement
Dominant language
Java
Stars
127
Forks
59
Avg merge
23h
Merged PRs (30d)
7

Description

In order to facilitate custom contexts and other extensions, it would be helpful
if there were events to mark the beginning and end of the JSF lifecycle.

PreExecuteLifecycleEvent
PostExecuteLifecycleEvent

This would enable bean/transaction/security creating/interception at a time that
is independent of phase listeners, which present ordering problems when users
create custom phase listeners, and also cause issues when dealing with exception
handling, since exception handlers are created outside of the faces lifecycle:

[https://jira.jboss.org/browse/SEAMFACES-42](https://jira.jboss.org/browse/SEAMFACES-42)
#### Environment
Operating System: Linux
Platform: PC
#### Affected Versions
[2.0]

Contributor guide

Open the contributing guide

Research direction

The issue identifies the JSF lifecycle, phase listeners, and exception handlers as the relevant entry points. First map where lifecycle processing begins and ends, then define how pre- and post-lifecycle events should integrate and verify their ordering and exception behavior; done means both events consistently mark the full lifecycle.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.