@ConfigurationProperties(prefix="jsf") public class JavaxFaces2_0Properties extends java.lang.Object implements ServletContextInitParameterProperties
Configuration properties
for JSF 2.0.Modifier and Type | Class and Description |
---|---|
static class |
JavaxFaces2_0Properties.Partial
Partial class for execute, render and resetValues parameters.
|
static class |
JavaxFaces2_0Properties.Validator
Valitador class for disableDefaultBeanValidator parameter.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EMPTY_STRING_AS_NULL
Interpret empty string submitted values as null constant.
|
Constructor and Description |
---|
JavaxFaces2_0Properties() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getConfigFiles()
Comma-delimited list of faces config files.
|
java.lang.Boolean |
getDatetimeconverterDefaultTimezoneIsSystemTimezone()
Controls if DateTimeConverter instances use the system timezone (if true)
or GMT (if false).
|
java.lang.String |
getDefaultSuffix()
Change the default suffix for JSP views.
|
java.lang.Boolean |
getDisableFaceletJsfViewhandler()
ViewHandler.
|
java.lang.Integer |
getFaceletsBufferSize()
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.Integer |
getFaceletsRefreshPeriod()
Time in seconds that facelets should be checked for changes since last
request.
|
java.lang.Class<? extends javax.faces.view.facelets.ResourceResolver> |
getFaceletsResourceResolver()
An implementation of javax.faces.view.facelets.ResourceResolver.
|
java.lang.Boolean |
getFaceletsSkipComments()
If true, strip XML comments out of Facelets before delivering to the
client.
|
java.lang.String |
getFaceletsSuffix()
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.Boolean |
getInterpretEmptyStringSubmittedValuesAsNull()
If true, consider empty UIInput values to be null instead of empty
string.
|
java.lang.String |
getLifecycleId()
ID for alternate Lifecycle implementations.
|
JavaxFaces2_0Properties.Partial |
getPartial() |
java.lang.Boolean |
getPartialStateSaving()
If true, use the JSF2 partial state saving for views.
|
javax.faces.application.ProjectStage |
getProjectStage()
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.String |
getSeparatorChar()
The context-param that allows the separator char for clientId strings to be set on a per-web application basis. |
java.lang.String |
getStateSavingMethod()
"server" or "client".
|
java.lang.String |
getValidateEmptyFields()
If "true", validate null and empty values.
|
JavaxFaces2_0Properties.Validator |
getValidator() |
int |
hashCode() |
void |
setConfigFiles(java.util.List<java.lang.String> configFiles)
Comma-delimited list of faces config files.
|
void |
setDatetimeconverterDefaultTimezoneIsSystemTimezone(java.lang.Boolean datetimeconverterDefaultTimezoneIsSystemTimezone)
Controls if DateTimeConverter instances use the system timezone (if true)
or GMT (if false).
|
void |
setDefaultSuffix(java.lang.String defaultSuffix)
Change the default suffix for JSP views.
|
void |
setDisableFaceletJsfViewhandler(java.lang.Boolean disableFaceletJsfViewhandler)
ViewHandler.
|
void |
setFaceletsBufferSize(java.lang.Integer faceletsBufferSize)
The buffer size set on the response.
|
void |
setFaceletsDecorators(java.util.List<java.lang.Class<? extends javax.faces.view.facelets.TagDecorator>> faceletsDecorators)
TagDecorator implementations.
|
void |
setFaceletsLibraries(java.util.List<java.lang.String> faceletsLibraries)
Semicolon-separated list of paths to Facelet tag libraries.
|
void |
setFaceletsRefreshPeriod(java.lang.Integer faceletsRefreshPeriod)
Time in seconds that facelets should be checked for changes since last
request.
|
void |
setFaceletsResourceResolver(java.lang.Class<? extends javax.faces.view.facelets.ResourceResolver> faceletsResourceResolver)
An implementation of javax.faces.view.facelets.ResourceResolver.
|
void |
setFaceletsSkipComments(java.lang.Boolean faceletsSkipComments)
If true, strip XML comments out of Facelets before delivering to the
client.
|
void |
setFaceletsSuffix(java.lang.String faceletsSuffix)
Set the suffix for Facelet xhtml files.
|
void |
setFaceletsViewMappings(java.util.List<java.lang.String> faceletsViewMappings)
Semicolon-separated list of Facelet files that don't use the default
facelets suffix.
|
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.
|
void |
setInterpretEmptyStringSubmittedValuesAsNull(java.lang.Boolean interpretEmptyStringSubmittedValuesAsNull)
If true, consider empty UIInput values to be null instead of empty
string.
|
void |
setLifecycleId(java.lang.String lifecycleId)
ID for alternate Lifecycle implementations.
|
void |
setPartial(JavaxFaces2_0Properties.Partial partial) |
void |
setPartialStateSaving(java.lang.Boolean partialStateSaving)
If true, use the JSF2 partial state saving for views.
|
void |
setProjectStage(javax.faces.application.ProjectStage projectStage)
Set the project stage to "Development", "UnitTest", "SystemTest", or
"Production".
|
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.
|
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. |
void |
setStateSavingMethod(java.lang.String stateSavingMethod)
"server" or "client".
|
void |
setValidateEmptyFields(java.lang.String validateEmptyFields)
If "true", validate null and empty values.
|
void |
setValidator(JavaxFaces2_0Properties.Validator validator) |
java.lang.String |
toString() |
public static final java.lang.String EMPTY_STRING_AS_NULL
public javax.faces.application.ProjectStage getProjectStage()
public java.util.List<java.lang.String> getResourceExcludes()
public java.util.List<java.lang.String> getFullStateSavingViewIds()
public java.lang.Boolean getPartialStateSaving()
public java.lang.String getStateSavingMethod()
public java.lang.String getDefaultSuffix()
public java.lang.Boolean getDisableFaceletJsfViewhandler()
public java.lang.Integer getFaceletsBufferSize()
public java.util.List<java.lang.Class<? extends javax.faces.view.facelets.TagDecorator>> getFaceletsDecorators()
public java.util.List<java.lang.String> getFaceletsLibraries()
public java.lang.Integer getFaceletsRefreshPeriod()
public java.lang.Boolean getFaceletsSkipComments()
public java.lang.String getFaceletsSuffix()
public java.util.List<java.lang.String> getFaceletsViewMappings()
public java.lang.String getValidateEmptyFields()
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.
public JavaxFaces2_0Properties.Partial getPartial()
public java.lang.Boolean getDatetimeconverterDefaultTimezoneIsSystemTimezone()
public JavaxFaces2_0Properties.Validator getValidator()
public java.lang.Class<? extends javax.faces.view.facelets.ResourceResolver> getFaceletsResourceResolver()
public java.util.List<java.lang.String> getConfigFiles()
public java.lang.String getLifecycleId()
public java.lang.Boolean getInterpretEmptyStringSubmittedValuesAsNull()
public void setProjectStage(javax.faces.application.ProjectStage projectStage)
public void setResourceExcludes(java.util.List<java.lang.String> resourceExcludes)
public void setFullStateSavingViewIds(java.util.List<java.lang.String> fullStateSavingViewIds)
public void setPartialStateSaving(java.lang.Boolean partialStateSaving)
public void setStateSavingMethod(java.lang.String stateSavingMethod)
public void setDefaultSuffix(java.lang.String defaultSuffix)
public void setDisableFaceletJsfViewhandler(java.lang.Boolean disableFaceletJsfViewhandler)
public void setFaceletsBufferSize(java.lang.Integer faceletsBufferSize)
public void setFaceletsDecorators(java.util.List<java.lang.Class<? extends javax.faces.view.facelets.TagDecorator>> faceletsDecorators)
public void setFaceletsLibraries(java.util.List<java.lang.String> faceletsLibraries)
public void setFaceletsRefreshPeriod(java.lang.Integer faceletsRefreshPeriod)
public void setFaceletsSkipComments(java.lang.Boolean faceletsSkipComments)
public void setFaceletsSuffix(java.lang.String faceletsSuffix)
public void setFaceletsViewMappings(java.util.List<java.lang.String> faceletsViewMappings)
public void setValidateEmptyFields(java.lang.String validateEmptyFields)
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.
public void setPartial(JavaxFaces2_0Properties.Partial partial)
public void setDatetimeconverterDefaultTimezoneIsSystemTimezone(java.lang.Boolean datetimeconverterDefaultTimezoneIsSystemTimezone)
public void setValidator(JavaxFaces2_0Properties.Validator validator)
public void setFaceletsResourceResolver(java.lang.Class<? extends javax.faces.view.facelets.ResourceResolver> faceletsResourceResolver)
public void setConfigFiles(java.util.List<java.lang.String> configFiles)
public void setLifecycleId(java.lang.String lifecycleId)
public void setInterpretEmptyStringSubmittedValuesAsNull(java.lang.Boolean interpretEmptyStringSubmittedValuesAsNull)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object