Class MyFaces2_3Properties
- java.lang.Object
-
- org.joinfaces.autoconfigure.myfaces.MyFaces2_3Properties
-
- All Implemented Interfaces:
ServletContextInitParameterProperties
@ConfigurationProperties("joinfaces.myfaces") public class MyFaces2_3Properties extends java.lang.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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Boolean
getAutomaticExtensionlessMapping()
This parameter enables automatic extensionless mapping for all JSF views.java.lang.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.java.lang.String
getJspSuffix()
java.lang.Boolean
getSupportManagedBeans()
If set false, myfaces won't support ManagedBeans anymore.int
hashCode()
void
setAutomaticExtensionlessMapping(java.lang.Boolean automaticExtensionlessMapping)
This parameter enables automatic extensionless mapping for all JSF views.void
setClearInputWhenSubmittedValueIsNullOrEmpty(java.lang.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.void
setJspSuffix(java.lang.String jspSuffix)
void
setSupportManagedBeans(java.lang.Boolean supportManagedBeans)
If set false, myfaces won't support ManagedBeans anymore.java.lang.String
toString()
-
-
-
Method Detail
-
getSupportManagedBeans
public java.lang.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 java.lang.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 java.lang.String getJspSuffix()
-
getAutomaticExtensionlessMapping
public java.lang.Boolean getAutomaticExtensionlessMapping()
This parameter enables automatic extensionless mapping for all JSF views.- See Also:
AbstractFacesInitializer.INIT_PARAM_AUTOMATIC_EXTENSIONLESS_MAPPING
-
setSupportManagedBeans
public void setSupportManagedBeans(java.lang.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(java.lang.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(java.lang.String jspSuffix)
-
setAutomaticExtensionlessMapping
public void setAutomaticExtensionlessMapping(java.lang.Boolean automaticExtensionlessMapping)
This parameter enables automatic extensionless mapping for all JSF views.- See Also:
AbstractFacesInitializer.INIT_PARAM_AUTOMATIC_EXTENSIONLESS_MAPPING
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-