jakartaee / jakartaee/faces

Common StateHelper for all JSF StateHolder/PartialStateHolder

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

Description

There should be a common StateHelper for all JSF "components" that can implement StateHolder/PartialStateHolder e.g. Behavior, Converter and Validator.

There could be a base class like UIComponentBase for this purpose for each type that exposes the StateHelper (e.g. something like ConverterBase). BehaviorBase should be extended to expose the helper.
#### Affected Versions
[2.2]

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the StateHolder and PartialStateHolder contracts, then compare UIComponentBase, BehaviorBase, Converter, and Validator as named in the issue. Determine whether a shared base such as ConverterBase is appropriate for each type and how BehaviorBase would expose StateHelper. Done requires an agreed design and implementation covering the affected component types.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend, 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.