Class JavaxFaces2_0Properties
java.lang.Object
org.joinfaces.autoconfigure.javaxfaces.JavaxFaces2_0Properties
- All Implemented Interfaces:
ServletContextInitParameterProperties
@ConfigurationProperties(prefix="joinfaces.jsf")
public class JavaxFaces2_0Properties
extends Object
implements ServletContextInitParameterProperties
Configuration properties
for JSF 2.0.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Partial class for execute, render and resetValues parameters.static class
Valitador class for disableDefaultBeanValidator parameter. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Comma-delimited list of faces config files.Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).Change the default suffix for JSP views.ViewHandler.The buffer size set on the response.TagDecorator implementations.Semicolon-separated list of paths to Facelet tag libraries.Time in seconds that facelets should be checked for changes since last request.Class<? extends jakarta.faces.view.facelets.ResourceResolver>
An implementation of javax.faces.view.facelets.ResourceResolver.If true, strip XML comments out of Facelets before delivering to the client.Set the suffix for Facelet xhtml files.Semicolon-separated list of Facelet files that don't use the default facelets suffix.Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.If true, consider empty UIInput values to be null instead of empty string.ID for alternate Lifecycle implementations.If true, use the JSF2 partial state saving for views.jakarta.faces.application.ProjectStage
Set the project stage to "Development", "UnitTest", "SystemTest", or "Production".A space separated list of resource extensions for types that shouldn't be served by the ResourceHandler implementation.The context-param that allows the separator char for clientId strings to be set on a per-web application basis."server" or "client".If "true", validate null and empty values.int
hashCode()
void
setConfigFiles
(List<String> configFiles) Comma-delimited list of faces config files.void
setDatetimeconverterDefaultTimezoneIsSystemTimezone
(Boolean datetimeconverterDefaultTimezoneIsSystemTimezone) Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).void
setDefaultSuffix
(String defaultSuffix) Change the default suffix for JSP views.void
setDisableFaceletJsfViewhandler
(Boolean disableFaceletJsfViewhandler) ViewHandler.void
setFaceletsBufferSize
(Integer faceletsBufferSize) The buffer size set on the response.void
setFaceletsDecorators
(List<Class<? extends jakarta.faces.view.facelets.TagDecorator>> faceletsDecorators) TagDecorator implementations.void
setFaceletsLibraries
(List<String> faceletsLibraries) Semicolon-separated list of paths to Facelet tag libraries.void
setFaceletsRefreshPeriod
(Integer faceletsRefreshPeriod) Time in seconds that facelets should be checked for changes since last request.void
setFaceletsResourceResolver
(Class<? extends jakarta.faces.view.facelets.ResourceResolver> faceletsResourceResolver) An implementation of javax.faces.view.facelets.ResourceResolver.void
setFaceletsSkipComments
(Boolean faceletsSkipComments) If true, strip XML comments out of Facelets before delivering to the client.void
setFaceletsSuffix
(String faceletsSuffix) Set the suffix for Facelet xhtml files.void
setFaceletsViewMappings
(List<String> faceletsViewMappings) Semicolon-separated list of Facelet files that don't use the default facelets suffix.void
setFullStateSavingViewIds
(List<String> fullStateSavingViewIds) Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.void
setInterpretEmptyStringSubmittedValuesAsNull
(Boolean interpretEmptyStringSubmittedValuesAsNull) If true, consider empty UIInput values to be null instead of empty string.void
setLifecycleId
(String lifecycleId) ID for alternate Lifecycle implementations.void
setPartialStateSaving
(Boolean partialStateSaving) If true, use the JSF2 partial state saving for views.void
setProjectStage
(jakarta.faces.application.ProjectStage projectStage) Set the project stage to "Development", "UnitTest", "SystemTest", or "Production".void
setResourceExcludes
(List<String> resourceExcludes) A space separated list of resource extensions for types that shouldn't be served by the ResourceHandler implementation.void
setSeparatorChar
(String separatorChar) The context-param that allows the separator char for clientId strings to be set on a per-web application basis.void
setStateSavingMethod
(String stateSavingMethod) "server" or "client".void
setValidateEmptyFields
(String validateEmptyFields) If "true", validate null and empty values.toString()
-
Constructor Details
-
JavaxFaces2_0Properties
public JavaxFaces2_0Properties()
-
-
Method Details
-
getProjectStage
public jakarta.faces.application.ProjectStage getProjectStage()Set the project stage to "Development", "UnitTest", "SystemTest", or "Production". -
getResourceExcludes
A space separated list of resource extensions for types that shouldn't be served by the ResourceHandler implementation. See the specification for further details. -
getFullStateSavingViewIds
Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving. -
getPartialStateSaving
If true, use the JSF2 partial state saving for views. -
getStateSavingMethod
"server" or "client". -
getDefaultSuffix
Change the default suffix for JSP views. -
getDisableFaceletJsfViewhandler
ViewHandler. Useful for applications that use legacy Facelets implementation. -
getFaceletsBufferSize
The buffer size set on the response. -
getFaceletsDecorators
TagDecorator implementations. See javadoc for javax.faces.view.facelets.TagDecorator. -
getFaceletsLibraries
Semicolon-separated list of paths to Facelet tag libraries. -
getFaceletsRefreshPeriod
Time in seconds that facelets should be checked for changes since last request. A value of -1 disables refresh checking. -
getFaceletsSkipComments
If true, strip XML comments out of Facelets before delivering to the client. -
getFaceletsSuffix
Set the suffix for Facelet xhtml files. -
getFaceletsViewMappings
Semicolon-separated list of Facelet files that don't use the default facelets suffix. -
getValidateEmptyFields
If "true", validate null and empty values. If "auto" validate when JSR-303 Bean Validation is enabled (in AS6 it is enabled by default). -
getSeparatorChar
The context-param that allows the separator char for clientId strings to be set on a per-web application basis.- Since:
- 2.0
-
getPartial
-
getDatetimeconverterDefaultTimezoneIsSystemTimezone
Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false). -
getValidator
-
getFaceletsResourceResolver
An implementation of javax.faces.view.facelets.ResourceResolver. See javadoc for details. -
getConfigFiles
Comma-delimited list of faces config files. -
getLifecycleId
ID for alternate Lifecycle implementations. -
getInterpretEmptyStringSubmittedValuesAsNull
If true, consider empty UIInput values to be null instead of empty string. -
setProjectStage
public void setProjectStage(jakarta.faces.application.ProjectStage projectStage) Set the project stage to "Development", "UnitTest", "SystemTest", or "Production". -
setResourceExcludes
A space separated list of resource extensions for types that shouldn't be served by the ResourceHandler implementation. See the specification for further details. -
setFullStateSavingViewIds
Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving. -
setPartialStateSaving
If true, use the JSF2 partial state saving for views. -
setStateSavingMethod
"server" or "client". -
setDefaultSuffix
Change the default suffix for JSP views. -
setDisableFaceletJsfViewhandler
ViewHandler. Useful for applications that use legacy Facelets implementation. -
setFaceletsBufferSize
The buffer size set on the response. -
setFaceletsDecorators
public void setFaceletsDecorators(List<Class<? extends jakarta.faces.view.facelets.TagDecorator>> faceletsDecorators) TagDecorator implementations. See javadoc for javax.faces.view.facelets.TagDecorator. -
setFaceletsLibraries
Semicolon-separated list of paths to Facelet tag libraries. -
setFaceletsRefreshPeriod
Time in seconds that facelets should be checked for changes since last request. A value of -1 disables refresh checking. -
setFaceletsSkipComments
If true, strip XML comments out of Facelets before delivering to the client. -
setFaceletsSuffix
Set the suffix for Facelet xhtml files. -
setFaceletsViewMappings
Semicolon-separated list of Facelet files that don't use the default facelets suffix. -
setValidateEmptyFields
If "true", validate null and empty values. If "auto" validate when JSR-303 Bean Validation is enabled (in AS6 it is enabled by default). -
setSeparatorChar
The context-param that allows the separator char for clientId strings to be set on a per-web application basis.- Since:
- 2.0
-
setDatetimeconverterDefaultTimezoneIsSystemTimezone
public void setDatetimeconverterDefaultTimezoneIsSystemTimezone(Boolean datetimeconverterDefaultTimezoneIsSystemTimezone) Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false). -
setFaceletsResourceResolver
public void setFaceletsResourceResolver(Class<? extends jakarta.faces.view.facelets.ResourceResolver> faceletsResourceResolver) An implementation of javax.faces.view.facelets.ResourceResolver. See javadoc for details. -
setConfigFiles
Comma-delimited list of faces config files. -
setLifecycleId
ID for alternate Lifecycle implementations. -
setInterpretEmptyStringSubmittedValuesAsNull
public void setInterpretEmptyStringSubmittedValuesAsNull(Boolean interpretEmptyStringSubmittedValuesAsNull) If true, consider empty UIInput values to be null instead of empty string. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-