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 propertiesfor JSF 2.0.
- 
- 
Nested Class SummaryNested 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 SummaryConstructors Constructor Description JavaxFaces2_0Properties()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)List<String>getConfigFiles()Comma-delimited list of faces config files.BooleangetDatetimeconverterDefaultTimezoneIsSystemTimezone()Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).StringgetDefaultSuffix()Change the default suffix for JSP views.BooleangetDisableFaceletJsfViewhandler()ViewHandler.IntegergetFaceletsBufferSize()The buffer size set on the response.List<Class<? extends javax.faces.view.facelets.TagDecorator>>getFaceletsDecorators()TagDecorator implementations.List<String>getFaceletsLibraries()Semicolon-separated list of paths to Facelet tag libraries.IntegergetFaceletsRefreshPeriod()Time in seconds that facelets should be checked for changes since last request.Class<? extends javax.faces.view.facelets.ResourceResolver>getFaceletsResourceResolver()An implementation of javax.faces.view.facelets.ResourceResolver.BooleangetFaceletsSkipComments()If true, strip XML comments out of Facelets before delivering to the client.StringgetFaceletsSuffix()Set the suffix for Facelet xhtml files.List<String>getFaceletsViewMappings()Semicolon-separated list of Facelet files that don't use the default facelets suffix.List<String>getFullStateSavingViewIds()Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.BooleangetInterpretEmptyStringSubmittedValuesAsNull()If true, consider empty UIInput values to be null instead of empty string.StringgetLifecycleId()ID for alternate Lifecycle implementations.JavaxFaces2_0Properties.PartialgetPartial()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".List<String>getResourceExcludes()A space separated list of resource extensions for types that shouldn't be served by the ResourceHandler implementation.StringgetSeparatorChar()The context-param that allows the separator char for clientId strings to be set on a per-web application basis.StringgetStateSavingMethod()"server" or "client".StringgetValidateEmptyFields()If "true", validate null and empty values.JavaxFaces2_0Properties.ValidatorgetValidator()inthashCode()voidsetConfigFiles(List<String> configFiles)Comma-delimited list of faces config files.voidsetDatetimeconverterDefaultTimezoneIsSystemTimezone(Boolean datetimeconverterDefaultTimezoneIsSystemTimezone)Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).voidsetDefaultSuffix(String defaultSuffix)Change the default suffix for JSP views.voidsetDisableFaceletJsfViewhandler(Boolean disableFaceletJsfViewhandler)ViewHandler.voidsetFaceletsBufferSize(Integer faceletsBufferSize)The buffer size set on the response.voidsetFaceletsDecorators(List<Class<? extends javax.faces.view.facelets.TagDecorator>> faceletsDecorators)TagDecorator implementations.voidsetFaceletsLibraries(List<String> faceletsLibraries)Semicolon-separated list of paths to Facelet tag libraries.voidsetFaceletsRefreshPeriod(Integer faceletsRefreshPeriod)Time in seconds that facelets should be checked for changes since last request.voidsetFaceletsResourceResolver(Class<? extends javax.faces.view.facelets.ResourceResolver> faceletsResourceResolver)An implementation of javax.faces.view.facelets.ResourceResolver.voidsetFaceletsSkipComments(Boolean faceletsSkipComments)If true, strip XML comments out of Facelets before delivering to the client.voidsetFaceletsSuffix(String faceletsSuffix)Set the suffix for Facelet xhtml files.voidsetFaceletsViewMappings(List<String> faceletsViewMappings)Semicolon-separated list of Facelet files that don't use the default facelets suffix.voidsetFullStateSavingViewIds(List<String> fullStateSavingViewIds)Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.voidsetInterpretEmptyStringSubmittedValuesAsNull(Boolean interpretEmptyStringSubmittedValuesAsNull)If true, consider empty UIInput values to be null instead of empty string.voidsetLifecycleId(String lifecycleId)ID for alternate Lifecycle implementations.voidsetPartialStateSaving(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(List<String> resourceExcludes)A space separated list of resource extensions for types that shouldn't be served by the ResourceHandler implementation.voidsetSeparatorChar(String separatorChar)The context-param that allows the separator char for clientId strings to be set on a per-web application basis.voidsetStateSavingMethod(String stateSavingMethod)"server" or "client".voidsetValidateEmptyFields(String validateEmptyFields)If "true", validate null and empty values.StringtoString()
 
- 
- 
- 
Method Detail- 
getProjectStagepublic javax.faces.application.ProjectStage getProjectStage() Set the project stage to "Development", "UnitTest", "SystemTest", or "Production".
 - 
getResourceExcludespublic List<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.
 - 
getFullStateSavingViewIdspublic List<String> getFullStateSavingViewIds() Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.
 - 
getPartialStateSavingpublic Boolean getPartialStateSaving() If true, use the JSF2 partial state saving for views.
 - 
getStateSavingMethodpublic String getStateSavingMethod() "server" or "client".
 - 
getDefaultSuffixpublic String getDefaultSuffix() Change the default suffix for JSP views.
 - 
getDisableFaceletJsfViewhandlerpublic Boolean getDisableFaceletJsfViewhandler() ViewHandler. Useful for applications that use legacy Facelets implementation.
 - 
getFaceletsBufferSizepublic Integer getFaceletsBufferSize() The buffer size set on the response.
 - 
getFaceletsDecoratorspublic List<Class<? extends javax.faces.view.facelets.TagDecorator>> getFaceletsDecorators() TagDecorator implementations. See javadoc for javax.faces.view.facelets.TagDecorator.
 - 
getFaceletsLibrariespublic List<String> getFaceletsLibraries() Semicolon-separated list of paths to Facelet tag libraries.
 - 
getFaceletsRefreshPeriodpublic Integer getFaceletsRefreshPeriod() Time in seconds that facelets should be checked for changes since last request. A value of -1 disables refresh checking.
 - 
getFaceletsSkipCommentspublic Boolean getFaceletsSkipComments() If true, strip XML comments out of Facelets before delivering to the client.
 - 
getFaceletsSuffixpublic String getFaceletsSuffix() Set the suffix for Facelet xhtml files.
 - 
getFaceletsViewMappingspublic List<String> getFaceletsViewMappings() Semicolon-separated list of Facelet files that don't use the default facelets suffix.
 - 
getValidateEmptyFieldspublic 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).
 - 
getSeparatorCharpublic 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
 
 - 
getPartialpublic JavaxFaces2_0Properties.Partial getPartial() 
 - 
getDatetimeconverterDefaultTimezoneIsSystemTimezonepublic Boolean getDatetimeconverterDefaultTimezoneIsSystemTimezone() Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).
 - 
getValidatorpublic JavaxFaces2_0Properties.Validator getValidator() 
 - 
getFaceletsResourceResolverpublic Class<? extends javax.faces.view.facelets.ResourceResolver> getFaceletsResourceResolver() An implementation of javax.faces.view.facelets.ResourceResolver. See javadoc for details.
 - 
getLifecycleIdpublic String getLifecycleId() ID for alternate Lifecycle implementations.
 - 
getInterpretEmptyStringSubmittedValuesAsNullpublic Boolean getInterpretEmptyStringSubmittedValuesAsNull() If true, consider empty UIInput values to be null instead of empty string.
 - 
setProjectStagepublic void setProjectStage(javax.faces.application.ProjectStage projectStage) Set the project stage to "Development", "UnitTest", "SystemTest", or "Production".
 - 
setResourceExcludespublic void setResourceExcludes(List<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.
 - 
setFullStateSavingViewIdspublic void setFullStateSavingViewIds(List<String> fullStateSavingViewIds) Semicolon-separated list of view IDs that must save state using the JSF 1.2-style state saving.
 - 
setPartialStateSavingpublic void setPartialStateSaving(Boolean partialStateSaving) If true, use the JSF2 partial state saving for views.
 - 
setStateSavingMethodpublic void setStateSavingMethod(String stateSavingMethod) "server" or "client".
 - 
setDefaultSuffixpublic void setDefaultSuffix(String defaultSuffix) Change the default suffix for JSP views.
 - 
setDisableFaceletJsfViewhandlerpublic void setDisableFaceletJsfViewhandler(Boolean disableFaceletJsfViewhandler) ViewHandler. Useful for applications that use legacy Facelets implementation.
 - 
setFaceletsBufferSizepublic void setFaceletsBufferSize(Integer faceletsBufferSize) The buffer size set on the response.
 - 
setFaceletsDecoratorspublic void setFaceletsDecorators(List<Class<? extends javax.faces.view.facelets.TagDecorator>> faceletsDecorators) TagDecorator implementations. See javadoc for javax.faces.view.facelets.TagDecorator.
 - 
setFaceletsLibrariespublic void setFaceletsLibraries(List<String> faceletsLibraries) Semicolon-separated list of paths to Facelet tag libraries.
 - 
setFaceletsRefreshPeriodpublic void setFaceletsRefreshPeriod(Integer faceletsRefreshPeriod) Time in seconds that facelets should be checked for changes since last request. A value of -1 disables refresh checking.
 - 
setFaceletsSkipCommentspublic void setFaceletsSkipComments(Boolean faceletsSkipComments) If true, strip XML comments out of Facelets before delivering to the client.
 - 
setFaceletsSuffixpublic void setFaceletsSuffix(String faceletsSuffix) Set the suffix for Facelet xhtml files.
 - 
setFaceletsViewMappingspublic void setFaceletsViewMappings(List<String> faceletsViewMappings) Semicolon-separated list of Facelet files that don't use the default facelets suffix.
 - 
setValidateEmptyFieldspublic void setValidateEmptyFields(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).
 - 
setSeparatorCharpublic void setSeparatorChar(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
 
 - 
setDatetimeconverterDefaultTimezoneIsSystemTimezonepublic void setDatetimeconverterDefaultTimezoneIsSystemTimezone(Boolean datetimeconverterDefaultTimezoneIsSystemTimezone) Controls if DateTimeConverter instances use the system timezone (if true) or GMT (if false).
 - 
setFaceletsResourceResolverpublic void setFaceletsResourceResolver(Class<? extends javax.faces.view.facelets.ResourceResolver> faceletsResourceResolver) An implementation of javax.faces.view.facelets.ResourceResolver. See javadoc for details.
 - 
setConfigFilespublic void setConfigFiles(List<String> configFiles) Comma-delimited list of faces config files.
 - 
setLifecycleIdpublic void setLifecycleId(String lifecycleId) ID for alternate Lifecycle implementations.
 - 
setInterpretEmptyStringSubmittedValuesAsNullpublic void setInterpretEmptyStringSubmittedValuesAsNull(Boolean interpretEmptyStringSubmittedValuesAsNull) If true, consider empty UIInput values to be null instead of empty string.
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-