Use EL in message bundles
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 127
- Forks
- 59
- Avg merge
- 23h
- Merged PRs (30d)
- 7
Description
Motivation
------
EL is pervasive in JSF, except in one obvious place, message bundles. Adding
this support would be natural for the developer, and in some respects increase
DRY (by not requiring parameters to specified in each place the message is used).
Proposal
------
Support the use of EL in the values of the key-value pairs present in any bundle
that is loaded via `` or via the `` element in
faces-config.xml. The EL expression should be parsed out of the value String,
and evaluated as a value expression.
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[2.2 Sprint 8]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the bundle-loading paths named in the proposal: and the element in faces-config.xml. Determine how bundle values are parsed and evaluated, then verify that EL works for both paths and that expressions in message values are covered by tests.
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
- Mostly clear
- Newbie friendliness
- 35/100