[ https://issues.apache.org/jira/browse/MYFACES-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736163#comment-17736163 ]
Thomas Andraschko commented on MYFACES-4608: -------------------------------------------- [~melloware] you suggested this in the original issue: {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} i dont think this is working, servlet doesnt parse the EL, this needs to by done in MF > FACELETS_REFRESH_PERIOD Settings > -------------------------------- > > Key: MYFACES-4608 > URL: https://issues.apache.org/jira/browse/MYFACES-4608 > Project: MyFaces Core > Issue Type: New Feature > Components: General > Affects Versions: 2.3.10, 3.0.2, 2.3-next-M8, 4.0.1 > Reporter: Melloware > Priority: Major > > Original issue came up in Quarkus conversation: > [https://github.com/quarkiverse/quarkus-primefaces/issues/75] > User had this setting in web.xml and was wondering why he could not hot > reload pages in DEV Mode > {code:java} > <context-param> > <param-name>jakarta.faces.FACELETS_REFRESH_PERIOD</param-name> > <param-value>-1</param-value> > </context-param> > {code} > Question for the team based on what Mojarra is doing. > # In PRODUCTION mode should we force it to -1 and ignore the user setting > like Mojarra does? > # If the value is not a positive number in DEV mode should we ignore it or > log a warning? > > Any other ideas? -- This message was sent by Atlassian Jira (v8.20.10#820010)