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 Summary
Constructors Constructor Description MyFaces2_3Properties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)BooleangetAutomaticExtensionlessMapping()This parameter enables automatic extensionless mapping for all JSF views.BooleangetClearInputWhenSubmittedValueIsNullOrEmpty()When CLEAR_INPUT_WHEN_SUBMITTED_VALUE_IS_NULL_OR_EMPTY is enabled, input fields will be cleared when null or empty values are submitted.StringgetJspSuffix()BooleangetSupportManagedBeans()If set false, myfaces won't support ManagedBeans anymore.inthashCode()voidsetAutomaticExtensionlessMapping(Boolean automaticExtensionlessMapping)This parameter enables automatic extensionless mapping for all JSF views.voidsetClearInputWhenSubmittedValueIsNullOrEmpty(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.voidsetJspSuffix(String jspSuffix)voidsetSupportManagedBeans(Boolean supportManagedBeans)If set false, myfaces won't support ManagedBeans anymore.StringtoString()
-
-
-
Method Detail
-
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.
-
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.
-
canEqual
protected boolean canEqual(Object other)
-
-