Fluent Programmatic API to replace faces-config.xml
- Dominant language
- Java
- Stars
- 127
- Forks
- 59
- Avg merge
- 23h
- Merged PRs (30d)
- 7
Description
Currently the `ApplicationConfigurationPopulator` and `@FlowDefinition` just translate the XML config.
Hope there are some Fluent API to simplify Faces config, produces a bean to configure Faces.
```java
@Produces
public FaceConfigBuilderCustomizer cusotmizeFacesConfig(){
return (FaceConfigBuilder builder)-> builder.enableFeatures(EXTENSIONLESS_MAPPING, ...)
.disableFeatures()
.addPhaseListner()
...// configure everything in faces-config.xml and param in web.xml
}
```
Contributor guide
Research direction
Start by reviewing ApplicationConfigurationPopulator and @FlowDefinition to understand how faces-config.xml is currently translated, then compare the settings represented in faces-config.xml and web.xml. Define the scope and design of a fluent configuration API, including how it would configure the listed Faces features and lifecycle settings; done requires an agreed API and corresponding implementation plan.
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
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100