Skip to content

Commit

Permalink
MYFACES-4659: Invert AUTOCOMPLETE_OFF_VIEW_STATE config param (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Apr 12, 2024
1 parent 825ea30 commit 7f6fefb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -520,10 +520,10 @@ public class MyfacesConfig
* Add autocomplete="off" to the view state hidden field. Enabled by default.
*/
@JSFWebConfigParam(since="2.2.8, 2.1.18, 2.0.24", expectedValues="true, false",
defaultValue="true", group="state")
defaultValue="false", group="state")
public static final String AUTOCOMPLETE_OFF_VIEW_STATE =
"org.apache.myfaces.AUTOCOMPLETE_OFF_VIEW_STATE";
private static final boolean AUTOCOMPLETE_OFF_VIEW_STATE_DEFAULT = true;
private static final boolean AUTOCOMPLETE_OFF_VIEW_STATE_DEFAULT = false;

/**
* Set the max time in miliseconds set on the "Expires" header for a resource rendered by
Expand Down

0 comments on commit 7f6fefb

Please sign in to comment.