Using Mojarra 2.1.13
The overrideContextInitParameter does not seem to work for me.
I have tried the following in ServletContextListener but the change does not take effect.
@Override
public void contextInitialized(ServletContextEvent sce) {
WebConfiguration webConfig = WebConfiguration.getInstance(sce.getServletContext());
webConfig.overrideContextInitParameter(WebContextInitParameter.JavaxFacesProjectStage, "Development");
webConfig.overrideContextInitParameter(WebContextInitParameter.FaceletsDefaultRefreshPeriod, "1");
webConfig.overrideContextInitParameter(WebContextInitParameter.ResourceUpdateCheckPeriod, "1");
}
Can somebody guide me as to how to override these settings?