Port MYFACES-4432 to JSF 2.3 and Faces 3.0 (Resolve request object in facelets) #21601
Labels
in:Web Components
release bug
This bug is present in a released version of Open Liberty
release:22008
team:Sirius
Projects
Milestone
Describe the bug
When using the "@FacesConfig" annotation in a JSF 2.3 or Faces 3.0 application, the #{request} object fails to resolve. An empty string is returned instead.
Steps to Reproduce
Expected behavior
The object should resolve, so that any of it's methods can be called. See table 5-11 of the JSF 2.3 spec for all objects which should be resolved.
Diagnostic information:
Additional context
Note: The implicit request and session objects are resolved via JSF's ImplicitObjectResolver not CDI. This is so that HttpServletRequest and HttpSession are not made injectable by JSF (i.e.. JSF should not use the Producer annotation in the implementation for HttpServletRequest and HttpSession). CDI should directly manage the injectablility of these objects instead. See the the discussion
https://github.com/jakartaee/faces/issues/1564
for reference.https://issues.apache.org/jira/projects/MYFACES/issues/MYFACES-4432
The text was updated successfully, but these errors were encountered: