You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Melloware (Jira)" <de...@myfaces.apache.org> on 2023/06/23 11:48:00 UTC

[jira] [Created] (MYFACES-4609) Web.xml parameters evaluate as EL

Melloware created MYFACES-4609:
----------------------------------

             Summary: Web.xml parameters evaluate as EL
                 Key: MYFACES-4609
                 URL: https://issues.apache.org/jira/browse/MYFACES-4609
             Project: MyFaces Core
          Issue Type: New Feature
          Components: General
    Affects Versions: 4.0.1
            Reporter: Melloware


Based on the previous discussion that web.xml init parameters should be evaluated for EL expressions by default.

for example:
{code:java}
<context-param>
   <param-name>jakarta.faces.FACELETS_REFRESH_PERIOD</param-name>
   <param-value>#{facesContext.application.projectStage eq 'Development' ? 2 : -1}</param-value>
</context-param> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)