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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
This parameter enables automatic extensionless mapping for all JSF views.When CLEAR_INPUT_WHEN_SUBMITTED_VALUE_IS_NULL_OR_EMPTY is enabled, input fields will be cleared when null or empty values are submitted.If set false, myfaces won't support ManagedBeans anymore.int
hashCode()
void
setAutomaticExtensionlessMapping
(Boolean automaticExtensionlessMapping) This parameter enables automatic extensionless mapping for all JSF views.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.void
setJspSuffix
(String jspSuffix) void
setSupportManagedBeans
(Boolean supportManagedBeans) If set false, myfaces won't support ManagedBeans anymore.toString()
-
Constructor Details
-
MyFaces2_3Properties
public MyFaces2_3Properties()
-
-
Method Details
-
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
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
-
getAutomaticExtensionlessMapping
This parameter enables automatic extensionless mapping for all JSF views.- See Also:
-
AbstractFacesInitializer.INIT_PARAM_AUTOMATIC_EXTENSIONLESS_MAPPING
-
setSupportManagedBeans
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
-
setAutomaticExtensionlessMapping
This parameter enables automatic extensionless mapping for all JSF views.- See Also:
-
AbstractFacesInitializer.INIT_PARAM_AUTOMATIC_EXTENSIONLESS_MAPPING
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-