eclipse-ee4j / eclipse-ee4j/jakartaee-examples

dukes-bookstore: Managed beans in faces-config not being created

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
164
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Issue with Dukes-bookstore:

I thought managed beans declared in faces-config.xml were still allowable in Jakarta 10.

The image map in index.xhtml does not work because none of the managed beans in faces-config.xml get created. Test this by adding an expression language test for null for one of the managed beans from faces-config.xml to the index.xhtml page. For example, in the index.xhtml page add the following line after the second element:

Next, deploy the war and view the outputText below the blue background image.

Tested with:
Eclipse GlassFish 7.0.13 (commit: 5829ac5e2aed76402d08dc51752223ccb72ff4ae)
Jakarta 10

Netbeans 21, JDK 21.0.2 Maven (Bundled) 3.9.6
Netbeans 20, JDK 21.0.2, Maven (Bundled) 3.9.5
Netbeans 19, JDK 17.08, Maven (External) 3.8.8

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.