Skip to content

Commit

Permalink
Fix eclipse-ee4j#5434: Inverse default config of autoCompleteOffOnVie…
Browse files Browse the repository at this point in the history
…wState
  • Loading branch information
BalusC committed Apr 7, 2024
1 parent 2b37c51 commit 9cc70ee
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions impl/src/main/java/com/sun/faces/config/WebConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@
import javax.naming.InitialContext;
import javax.naming.NamingException;

import com.sun.faces.application.ApplicationAssociate;
import com.sun.faces.application.view.FaceletViewHandlingStrategy;
import com.sun.faces.facelets.util.Classpath;
import com.sun.faces.lifecycle.HttpMethodRestrictionsPhaseListener;
import com.sun.faces.util.FacesLogger;
import com.sun.faces.util.Util;

import jakarta.faces.FactoryFinder;
import jakarta.faces.application.ProjectStage;
import jakarta.faces.application.ResourceHandler;
Expand All @@ -72,6 +65,13 @@
import jakarta.faces.webapp.FacesServlet;
import jakarta.servlet.ServletContext;

import com.sun.faces.application.ApplicationAssociate;
import com.sun.faces.application.view.FaceletViewHandlingStrategy;
import com.sun.faces.facelets.util.Classpath;
import com.sun.faces.lifecycle.HttpMethodRestrictionsPhaseListener;
import com.sun.faces.util.FacesLogger;
import com.sun.faces.util.Util;

/**
* Class Documentation
*/
Expand Down Expand Up @@ -114,7 +114,7 @@ public class WebConfiguration {
private FaceletsConfiguration faceletsConfig;

private boolean hasFlows;

private String specificationVersion;

// ------------------------------------------------------------ Constructors
Expand All @@ -136,7 +136,7 @@ private WebConfiguration(ServletContext servletContext) {
getOptionValue(WebContextInitParameter.ResourceExcludes, " ");
getOptionValue(WebContextInitParameter.FaceletsViewMappings, ";");
getOptionValue(WebContextInitParameter.FaceletsSuffix, " ");

specificationVersion = getClass().getPackage().getSpecificationVersion();
}

Expand Down Expand Up @@ -873,7 +873,7 @@ public enum BooleanWebContextInitParameter {
PartialStateSaving(StateManager.PARTIAL_STATE_SAVING_PARAM_NAME, true),
GenerateUniqueServerStateIds("com.sun.faces.generateUniqueServerStateIds", true),
InterpretEmptyStringSubmittedValuesAsNull(UIInput.EMPTY_STRING_AS_NULL_PARAM_NAME, false),
AutoCompleteOffOnViewState("com.sun.faces.autoCompleteOffOnViewState", true),
AutoCompleteOffOnViewState("com.sun.faces.autoCompleteOffOnViewState", false),
EnableThreading("com.sun.faces.enableThreading", false),
AllowTextChildren("com.sun.faces.allowTextChildren", false),
CacheResourceModificationTimestamp("com.sun.faces.cacheResourceModificationTimestamp", false),
Expand Down

0 comments on commit 9cc70ee

Please sign in to comment.