Class MyFaces2_3Properties

java.lang.Object
org.joinfaces.autoconfigure.myfaces.MyFaces2_3Properties
All Implemented Interfaces:
ServletContextInitParameterProperties

@ConfigurationProperties("joinfaces.myfaces") public class MyFaces2_3Properties extends Object implements ServletContextInitParameterProperties
Configuration Properties added with MyFaces 2.3.

Taken from: https://myfaces.apache.org/core23/myfaces-impl/webconfig.html

  • Constructor Details

    • MyFaces2_3Properties

      public MyFaces2_3Properties()
  • Method Details

    • getSupportManagedBeans

      public Boolean getSupportManagedBeans()
      If set false, myfaces won't support ManagedBeans anymore. ManagedBeans are deprecated in JSF 2.3 Default value is true.
      See Also:
      • MyfacesConfig._supportManagedBeans
      • MyfacesConfig.INIT_PARAM_SUPPORT_MANAGED_BEANS
    • getClearInputWhenSubmittedValueIsNullOrEmpty

      public Boolean getClearInputWhenSubmittedValueIsNullOrEmpty()
      When CLEAR_INPUT_WHEN_SUBMITTED_VALUE_IS_NULL_OR_EMPTY is enabled, input fields will be cleared when null or empty values are submitted. When disabled, and INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL is enabled, submitting null or empty values will cause the previous model value to be restored to the input field.
    • getJspSuffix

      public String getJspSuffix()
    • getAutomaticExtensionlessMapping

      public Boolean getAutomaticExtensionlessMapping()
      This parameter enables automatic extensionless mapping for all JSF views.
      See Also:
      • AbstractFacesInitializer.INIT_PARAM_AUTOMATIC_EXTENSIONLESS_MAPPING
    • setSupportManagedBeans

      public void setSupportManagedBeans(Boolean supportManagedBeans)
      If set false, myfaces won't support ManagedBeans anymore. ManagedBeans are deprecated in JSF 2.3 Default value is true.
      See Also:
      • MyfacesConfig._supportManagedBeans
      • MyfacesConfig.INIT_PARAM_SUPPORT_MANAGED_BEANS
    • setClearInputWhenSubmittedValueIsNullOrEmpty

      public void setClearInputWhenSubmittedValueIsNullOrEmpty(Boolean clearInputWhenSubmittedValueIsNullOrEmpty)
      When CLEAR_INPUT_WHEN_SUBMITTED_VALUE_IS_NULL_OR_EMPTY is enabled, input fields will be cleared when null or empty values are submitted. When disabled, and INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL is enabled, submitting null or empty values will cause the previous model value to be restored to the input field.
    • setJspSuffix

      public void setJspSuffix(String jspSuffix)
    • setAutomaticExtensionlessMapping

      public void setAutomaticExtensionlessMapping(Boolean automaticExtensionlessMapping)
      This parameter enables automatic extensionless mapping for all JSF views.
      See Also:
      • AbstractFacesInitializer.INIT_PARAM_AUTOMATIC_EXTENSIONLESS_MAPPING
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object