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 java.lang.Object implements ServletContextInitParameterProperties
Configuration propertiesfor JSF 2.0.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaxFaces2_0Properties.PartialPartial class for execute, render and resetValues parameters.static classJavaxFaces2_0Properties.ValidatorValitador class for disableDefaultBeanValidator parameter.
-
Constructor Summary
Constructors Constructor Description JavaxFaces2_0Properties()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getConfigFiles()Comma-delimited list of faces config files.java.lang.BooleangetDatetimeconverterDefaultTimezoneIsSystemTimezone()Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).java.lang.StringgetDefaultSuffix()Change the default suffix for JSP views.java.lang.BooleangetDisableFaceletJsfViewhandler()ViewHandler.java.lang.IntegergetFaceletsBufferSize()The buffer size set on the response.java.util.List<java.lang.Class<? extends javax.faces.view.facelets.TagDecorator>>getFaceletsDecorators()TagDecorator implementations.java.util.List<java.lang.String>getFaceletsLibraries()Semicolon-separated list of paths to Facelet tag libraries.java.lang.IntegergetFaceletsRefreshPeriod()Time in seconds that facelets should be checked for changes since last request.java.lang.Class<? extends javax.faces.view.facelets.ResourceResolver>getFaceletsResourceResolver()Deprecated.java.lang.BooleangetFaceletsSkipComments()If true, strip XML comments out of Facelets before delivering to the client.java.lang.StringgetFaceletsSuffix()Set the suffix for Facelet xhtml files.java.util.List<java.lang.String>getFaceletsViewMappings()Semicolon-separated list of Facelet files that don't use the default facelets suffix.java.util.List<java.lang.String>getFullStateSavingViewIds()Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.java.lang.BooleangetInterpretEmptyStringSubmittedValuesAsNull()If true, consider empty UIInput values to be null instead of empty string.java.lang.StringgetLifecycleId()ID for alternate Lifecycle implementations.JavaxFaces2_0Properties.PartialgetPartial()java.lang.BooleangetPartialStateSaving()If true, use the JSF2 partial state saving for views.javax.faces.application.ProjectStagegetProjectStage()Set the project stage to "Development", "UnitTest", "SystemTest", or "Production".java.util.List<java.lang.String>getResourceExcludes()A space separated list of resource extensions for types that shouldn't be served by the ResourceHandler implementation.java.lang.StringgetSeparatorChar()The context-param that allows the separator char for clientId strings to be set on a per-web application basis.java.lang.StringgetStateSavingMethod()"server" or "client".java.lang.StringgetValidateEmptyFields()If "true", validate null and empty values.JavaxFaces2_0Properties.ValidatorgetValidator()inthashCode()voidsetConfigFiles(java.util.List<java.lang.String> configFiles)Comma-delimited list of faces config files.voidsetDatetimeconverterDefaultTimezoneIsSystemTimezone(java.lang.Boolean datetimeconverterDefaultTimezoneIsSystemTimezone)Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).voidsetDefaultSuffix(java.lang.String defaultSuffix)Change the default suffix for JSP views.voidsetDisableFaceletJsfViewhandler(java.lang.Boolean disableFaceletJsfViewhandler)ViewHandler.voidsetFaceletsBufferSize(java.lang.Integer faceletsBufferSize)The buffer size set on the response.voidsetFaceletsDecorators(java.util.List<java.lang.Class<? extends javax.faces.view.facelets.TagDecorator>> faceletsDecorators)TagDecorator implementations.voidsetFaceletsLibraries(java.util.List<java.lang.String> faceletsLibraries)Semicolon-separated list of paths to Facelet tag libraries.voidsetFaceletsRefreshPeriod(java.lang.Integer faceletsRefreshPeriod)Time in seconds that facelets should be checked for changes since last request.voidsetFaceletsResourceResolver(java.lang.Class<? extends javax.faces.view.facelets.ResourceResolver> faceletsResourceResolver)Deprecated.voidsetFaceletsSkipComments(java.lang.Boolean faceletsSkipComments)If true, strip XML comments out of Facelets before delivering to the client.voidsetFaceletsSuffix(java.lang.String faceletsSuffix)Set the suffix for Facelet xhtml files.voidsetFaceletsViewMappings(java.util.List<java.lang.String> faceletsViewMappings)Semicolon-separated list of Facelet files that don't use the default facelets suffix.voidsetFullStateSavingViewIds(java.util.List<java.lang.String> fullStateSavingViewIds)Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.voidsetInterpretEmptyStringSubmittedValuesAsNull(java.lang.Boolean interpretEmptyStringSubmittedValuesAsNull)If true, consider empty UIInput values to be null instead of empty string.voidsetLifecycleId(java.lang.String lifecycleId)ID for alternate Lifecycle implementations.voidsetPartialStateSaving(java.lang.Boolean partialStateSaving)If true, use the JSF2 partial state saving for views.voidsetProjectStage(javax.faces.application.ProjectStage projectStage)Set the project stage to "Development", "UnitTest", "SystemTest", or "Production".voidsetResourceExcludes(java.util.List<java.lang.String> resourceExcludes)A space separated list of resource extensions for types that shouldn't be served by the ResourceHandler implementation.voidsetSeparatorChar(java.lang.String separatorChar)The context-param that allows the separator char for clientId strings to be set on a per-web application basis.voidsetStateSavingMethod(java.lang.String stateSavingMethod)"server" or "client".voidsetValidateEmptyFields(java.lang.String validateEmptyFields)If "true", validate null and empty values.java.lang.StringtoString()
-
-
-
Method Detail
-
getProjectStage
public javax.faces.application.ProjectStage getProjectStage()
Set the project stage to "Development", "UnitTest", "SystemTest", or "Production".
-
getResourceExcludes
public java.util.List<java.lang.String> 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
public java.util.List<java.lang.String> getFullStateSavingViewIds()
Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.
-
getPartialStateSaving
public java.lang.Boolean getPartialStateSaving()
If true, use the JSF2 partial state saving for views.
-
getStateSavingMethod
public java.lang.String getStateSavingMethod()
"server" or "client".
-
getDefaultSuffix
public java.lang.String getDefaultSuffix()
Change the default suffix for JSP views.
-
getDisableFaceletJsfViewhandler
public java.lang.Boolean getDisableFaceletJsfViewhandler()
ViewHandler. Useful for applications that use legacy Facelets implementation.
-
getFaceletsBufferSize
public java.lang.Integer getFaceletsBufferSize()
The buffer size set on the response.
-
getFaceletsDecorators
public java.util.List<java.lang.Class<? extends javax.faces.view.facelets.TagDecorator>> getFaceletsDecorators()
TagDecorator implementations. See javadoc for javax.faces.view.facelets.TagDecorator.
-
getFaceletsLibraries
public java.util.List<java.lang.String> getFaceletsLibraries()
Semicolon-separated list of paths to Facelet tag libraries.
-
getFaceletsRefreshPeriod
public java.lang.Integer getFaceletsRefreshPeriod()
Time in seconds that facelets should be checked for changes since last request. A value of -1 disables refresh checking.
-
getFaceletsSkipComments
public java.lang.Boolean getFaceletsSkipComments()
If true, strip XML comments out of Facelets before delivering to the client.
-
getFaceletsSuffix
public java.lang.String getFaceletsSuffix()
Set the suffix for Facelet xhtml files.
-
getFaceletsViewMappings
public java.util.List<java.lang.String> getFaceletsViewMappings()
Semicolon-separated list of Facelet files that don't use the default facelets suffix.
-
getValidateEmptyFields
public java.lang.String 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
public java.lang.String 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
public JavaxFaces2_0Properties.Partial getPartial()
-
getDatetimeconverterDefaultTimezoneIsSystemTimezone
public java.lang.Boolean getDatetimeconverterDefaultTimezoneIsSystemTimezone()
Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).
-
getValidator
public JavaxFaces2_0Properties.Validator getValidator()
-
getFaceletsResourceResolver
@Deprecated public java.lang.Class<? extends javax.faces.view.facelets.ResourceResolver> getFaceletsResourceResolver()
Deprecated.An implementation of javax.faces.view.facelets.ResourceResolver. See javadoc for details.
-
getConfigFiles
public java.util.List<java.lang.String> getConfigFiles()
Comma-delimited list of faces config files.
-
getLifecycleId
public java.lang.String getLifecycleId()
ID for alternate Lifecycle implementations.
-
getInterpretEmptyStringSubmittedValuesAsNull
public java.lang.Boolean getInterpretEmptyStringSubmittedValuesAsNull()
If true, consider empty UIInput values to be null instead of empty string.
-
setProjectStage
public void setProjectStage(javax.faces.application.ProjectStage projectStage)
Set the project stage to "Development", "UnitTest", "SystemTest", or "Production".
-
setResourceExcludes
public void setResourceExcludes(java.util.List<java.lang.String> resourceExcludes)
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
public void setFullStateSavingViewIds(java.util.List<java.lang.String> fullStateSavingViewIds)
Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.
-
setPartialStateSaving
public void setPartialStateSaving(java.lang.Boolean partialStateSaving)
If true, use the JSF2 partial state saving for views.
-
setStateSavingMethod
public void setStateSavingMethod(java.lang.String stateSavingMethod)
"server" or "client".
-
setDefaultSuffix
public void setDefaultSuffix(java.lang.String defaultSuffix)
Change the default suffix for JSP views.
-
setDisableFaceletJsfViewhandler
public void setDisableFaceletJsfViewhandler(java.lang.Boolean disableFaceletJsfViewhandler)
ViewHandler. Useful for applications that use legacy Facelets implementation.
-
setFaceletsBufferSize
public void setFaceletsBufferSize(java.lang.Integer faceletsBufferSize)
The buffer size set on the response.
-
setFaceletsDecorators
public void setFaceletsDecorators(java.util.List<java.lang.Class<? extends javax.faces.view.facelets.TagDecorator>> faceletsDecorators)
TagDecorator implementations. See javadoc for javax.faces.view.facelets.TagDecorator.
-
setFaceletsLibraries
public void setFaceletsLibraries(java.util.List<java.lang.String> faceletsLibraries)
Semicolon-separated list of paths to Facelet tag libraries.
-
setFaceletsRefreshPeriod
public void setFaceletsRefreshPeriod(java.lang.Integer faceletsRefreshPeriod)
Time in seconds that facelets should be checked for changes since last request. A value of -1 disables refresh checking.
-
setFaceletsSkipComments
public void setFaceletsSkipComments(java.lang.Boolean faceletsSkipComments)
If true, strip XML comments out of Facelets before delivering to the client.
-
setFaceletsSuffix
public void setFaceletsSuffix(java.lang.String faceletsSuffix)
Set the suffix for Facelet xhtml files.
-
setFaceletsViewMappings
public void setFaceletsViewMappings(java.util.List<java.lang.String> faceletsViewMappings)
Semicolon-separated list of Facelet files that don't use the default facelets suffix.
-
setValidateEmptyFields
public void setValidateEmptyFields(java.lang.String validateEmptyFields)
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
public void setSeparatorChar(java.lang.String separatorChar)
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(java.lang.Boolean datetimeconverterDefaultTimezoneIsSystemTimezone)
Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).
-
setFaceletsResourceResolver
@Deprecated public void setFaceletsResourceResolver(java.lang.Class<? extends javax.faces.view.facelets.ResourceResolver> faceletsResourceResolver)
Deprecated.An implementation of javax.faces.view.facelets.ResourceResolver. See javadoc for details.
-
setConfigFiles
public void setConfigFiles(java.util.List<java.lang.String> configFiles)
Comma-delimited list of faces config files.
-
setLifecycleId
public void setLifecycleId(java.lang.String lifecycleId)
ID for alternate Lifecycle implementations.
-
setInterpretEmptyStringSubmittedValuesAsNull
public void setInterpretEmptyStringSubmittedValuesAsNull(java.lang.Boolean interpretEmptyStringSubmittedValuesAsNull)
If true, consider empty UIInput values to be null instead of empty string.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-