Skip to content

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

@williamkida

Description

@williamkida

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 <h:form> element:
<h:outputText value=" Book201 eq null #{Book201 eq null}"/>
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions