@ConfigurationProperties(prefix="jsf.myfaces") public class MyfacesProperties extends java.lang.Object implements ServletContextInitParameterProperties
Modifier and Type | Class and Description |
---|---|
static class |
MyfacesProperties.Annotation
Annotation class of useCdiForAnnotationScanning and scanPackages properties.
|
static class |
MyfacesProperties.Spi
Spi class of injectionProvider property..
|
static class |
MyfacesProperties.Validator
Validator class of beanBeforeJsfValidation property.
|
Constructor and Description |
---|
MyfacesProperties() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm()
Indicate the encryption algorithm used for encrypt the view state.
|
java.lang.String |
getAlgorithmIv()
Defines the initialization vector (Base64 encoded) used for the
encryption algorithm.
|
java.lang.String |
getAlgorithmParameters()
Defines the default mode and padding used for the encryption algorithm.
|
java.lang.Boolean |
getAllowJavascript()
This parameter tells MyFaces if javascript code should be allowed in the
rendered HTML output.
|
MyfacesProperties.Annotation |
getAnnotation() |
java.lang.Boolean |
getAutocompleteOffViewState()
Add autocomplete="off" to the view state hidden field.
|
java.lang.Boolean |
getCacheElExpressions()
Indicates if expressions generated by facelets should be cached or not.
|
java.lang.Boolean |
getCacheOldViewsInSessionMode()
This parameter has been removed from 2.
|
java.lang.Boolean |
getCdiManagedConvertersEnabled()
Enable or disable CDI support for converters.
|
java.lang.Boolean |
getCdiManagedValidatorsEnabled()
Enable or disable CDI support for validators.
|
java.lang.Boolean |
getCheckedViewidCacheEnabled()
Enable or disable a cache used to 'remember' if a view exists or not and
reduce the impact " + "of sucesive calls to
ExternalContext.getResource().
|
java.lang.Integer |
getCheckedViewidCacheSize()
Controls the size of the cache used to 'remember' if a view exists or
not.
|
java.lang.String |
getCheckIdProductionMode()
Define how duplicate ids are checked when ProjectStage is Production, by
default (auto) it only check ids of components that does not encapsulate
markup (like facelets UILeaf).
|
java.lang.Integer |
getClientViewStateTimeout()
Define the time in minutes where the view state is valid when client side
state saving is used.
|
java.lang.Integer |
getComponentUniqueIdsCacheSize()
Set the size of the cache used to store strings generated using
SectionUniqueIdCounter for component ids.
|
java.lang.Boolean |
getCompressStateInClient()
Indicate if the view state should be compressed before
encrypted(optional) and encoded.
|
java.lang.Boolean |
getCompressStateInSession()
Indicates that the serialized state will be compressed before it is
written to the session.
|
java.lang.Integer |
getConfigRefreshPeriod()
Set the time in seconds that check for updates of web.
|
java.lang.Boolean |
getDebugPhaseListener()
Enable/disable DebugPhaseListener feature, with provide useful
information about ValueHolder variables (submittedValue, localValue,
value).
|
java.lang.String |
getDebugTemplateResource()
Indicate the template name used to render the default debug page (see
ui:debug tag).
|
java.lang.String |
getDefaultResponseWriterContentTypeMode()
Define the default content type that the default ResponseWriter
generates, when no match can be derived from HTTP Accept Header.
|
java.lang.String |
getDefaultWindowMode()
no description.
|
java.lang.Class<?> |
getDelegateFacesServlet()
Define an alternate class name that will be used to initialize MyFaces,
instead the default javax.
|
java.lang.Boolean |
getEarlyFlushEnabled()
Enable or disable an early flush which allows to send e.g.
|
java.lang.Class<? extends java.util.Comparator<javax.el.ELResolver>> |
getElResolverComparator()
The Class of an Comparator
|
java.lang.Class<?> |
getElResolverPredicate()
The
Class of an Predicate<ELResolver> implementation. |
java.lang.Boolean |
getEnumConverterAllowStringPasstrough()
If value is a String instance and this param is true, pass it directly
without try any change.
|
java.lang.String |
getErrorHandler()
Deprecated: use JSF 2.0 ExceptionHandler.
|
java.lang.Boolean |
getErrorHandling()
Indicate if myfaces is responsible to handle errors.
|
java.lang.String |
getErrorTemplateResource()
Indicate the template name used to render the default error page used by
MyFaces specific error handler implementation.
|
java.lang.Class<? extends javax.el.ExpressionFactory> |
getExpressionFactory()
This parameter specifies the ExpressionFactory implementation to use.
|
java.lang.Integer |
getFacesFlowClientWindowIdsInSession()
Indicate the max number of client window ids stored into session by faces
flow.
|
java.lang.Class<? extends org.apache.myfaces.webapp.FacesInitializer> |
getFacesInitializer()
Class name of a custom FacesInitializer implementation.
|
java.util.List<java.lang.Class<?>> |
getFacesInitPlugins()
comma delimited list of plugin classes which can be hooked into myfaces.
|
java.lang.Boolean |
getFlashScopeDisabled()
Defines whether flash scope is disabled, preventing add the Flash cookie
to the response.
|
java.lang.String |
getGaeJsfAnnotationsJarFiles()
When the application runs inside Google Application Engine container
(GAE), indicate which jar files should be scanned for annotations.
|
java.lang.String |
getGaeJsfJarFiles()
When the application runs inside Google Application Engine container
(GAE), indicate which jar files should be scanned for files
(faces-config, facelets taglib or annotations).
|
java.lang.Boolean |
getInitializeAlwaysStandalone()
If this param is set to true, the check for faces servlet mapping is not
done.
|
java.lang.Boolean |
getInitializeSkipJarFacesConfigScan()
If the flag is true, the algoritm skip jar scanning for faces-config
files to check if the current application requires FacesServlet to be
added dynamically (servlet spec 3).
|
java.lang.String |
getJsfJsMode()
Define the mode used for jsf.
|
java.lang.Boolean |
getLazyLoadConfigObjects()
Indicate if the classes associated to components, converters, validators
or behaviors should be loaded as soon as they are added to the current
application instance or instead loaded in a lazy way.
|
java.lang.String |
getLogWebContextParams()
Indicate if log all web config params should be done before initialize
the webapp.
|
java.lang.String |
getMacAlgorithm()
Indicate the algorithm used to calculate the Message Authentication Code
that is added to the view state.
|
java.lang.String |
getMacSecret()
Define the initialization code that are used to initialize the secret key
used on the Message Authentication Code algorithm.
|
java.lang.Boolean |
getMacSecretCache()
If is set to "false", the secret key used for MAC algorithm is not cached.
|
java.lang.Boolean |
getMarkInitialStateWhenApplyBuildView()
no description.
|
java.lang.Integer |
getNumberOfFlashTokensInSession()
Indicate the max number of flash tokens stored into session.
|
java.lang.Integer |
getNumberOfSequentialViewsInSession()
Indicates the amount of views (default is not active) that should be
stored in session between sequential POST or POST-REDIRECT-GET if org.
|
java.lang.Integer |
getNumberOfViewsInSession()
Defines the amount (default = 20) of the latest views are stored in
session.
|
java.lang.Boolean |
getPrettyHtml()
If true, rendered HTML code will be formatted, so that it is "human
readable".
|
java.lang.String |
getRandomKeyInCsrfSessionToken()
Defines how to generate the csrf session token.
|
java.lang.Integer |
getRandomKeyInCsrfSessionTokenLength()
Set the default length of the random key used for the csrf session token.
|
java.lang.String |
getRandomKeyInCsrfSessionTokenSecureRandomAlgoritm()
Sets the random algorithm to initialize the secure random id generator.
|
java.lang.String |
getRandomKeyInCsrfSessionTokenSecureRandomClass()
Sets the random class to initialize the secure random id generator.
|
java.lang.String |
getRandomKeyInCsrfSessionTokenSecureRandomProvider()
Sets the random provider to initialize the secure random id generator.
|
java.lang.String |
getRandomKeyInViewStateSessionToken()
Adds a random key to the generated view state session token.
|
java.lang.Integer |
getRandomKeyInViewStateSessionTokenLength()
Set the default length of the random key added to the view state session
token.
|
java.lang.String |
getRandomKeyInViewStateSessionTokenSecureRandomAlgorithm()
Sets the random algorithm to initialize the secure random id generator.
|
java.lang.String |
getRandomKeyInViewStateSessionTokenSecureRandomClass()
Sets the random class to initialize the secure random id generator.
|
java.lang.String |
getRandomKeyInViewStateSessionTokenSecureRandomProvider()
Sets the random provider to initialize the secure random id generator.
|
java.lang.String |
getRefreshTransientBuildOnPss()
Indicate if the facelet associated to the view should be reapplied when
the view is refreshed.
|
java.lang.Boolean |
getRefreshTransientBuildOnPssPreserveState()
Enable or disable a special mode that enable full state for parent
components containing c:if, c:forEach, c:choose and ui:include with
src=ELExpression.
|
java.lang.Boolean |
getRenderClearJavascriptForButton()
This param renders the clear javascript on button necessary only for
compatibility with hidden fields feature of myfaces.
|
java.lang.Boolean |
getRenderFormSubmitScriptInline()
If set true, render the form submit script inline, as in myfaces core 1.
|
java.lang.Boolean |
getRenderFormViewStateAtBegin()
This param makes h:form component to render the view state and other
hidden fields at the beginning of the form.
|
java.lang.Boolean |
getRenderHiddenFieldsForLinkParams()
This param renders hidden fields at the end of h:form for link params
when h:commandLink + f:param is used, instead use javascript to create
them.
|
java.lang.Boolean |
getRenderViewstateId()
Define if the input field that should store the state.
|
java.lang.Integer |
getResourceBufferSize()
Define the default buffer size that is used between Resource.
|
java.lang.Boolean |
getResourceHandlerCacheEnabled()
Enable or disable the cache used to "remember" if a resource handled by
the default ResourceHandler exists or not.
|
java.lang.Integer |
getResourceHandlerCacheSize()
Controls the size of the cache used to check if a resource exists or not.
|
java.lang.Integer |
getResourceMaxTimeExpires()
Set the max time in miliseconds set on the "Expires" header for a
resource rendered by the default ResourceHandler.
|
java.lang.Boolean |
getSaveFormSubmitLinkIe()
Add a code that save the form before submit using a link.
|
java.lang.String |
getSecret()
Defines the secret (Base64 encoded) used to initialize the secret key for
encryption algorithm.
|
java.lang.Boolean |
getSecretCache()
If is set to "false", the secret key used for encryption algorithm is not
cached.
|
java.lang.Class<? extends org.apache.myfaces.shared.util.serial.SerialFactory> |
getSerialFactory()
Defines the factory class name using for serialize/deserialize the view
state returned by state manager into a byte array.
|
java.lang.Boolean |
getSerializeStateInSession()
Indicate if the state should be serialized before save it on the session.
|
java.lang.Class<? extends org.apache.myfaces.spi.ServiceProviderFinder> |
getServiceProviderFinder()
Class name of a custom ServiceProviderFinder implementation.
|
MyfacesProperties.Spi |
getSpi() |
java.lang.Boolean |
getStrictJsf2AllowSlashLibraryName()
Allow slash in the library name of a Resource.
|
java.lang.String |
getStrictJsf2CcElResolver()
Change default getType() behavior for composite component EL resolver,
from return null (see JSF 2_0 spec section 5_6_2_2) to use the metadata
information added by composite:attribute, ensuring components working
with chained EL expressions to find the right type when a getType() is
called over the source EL expression.
|
java.lang.Boolean |
getStrictJsf2FaceletsCompatibility()
This param makes components like c:set, ui:param and templating
components like ui:decorate, ui:composition and ui:include to behave like
the ones provided originally in facelets 1_1_x.
|
java.lang.Boolean |
getStrictJsf2RefreshTargetAjax()
Detect if a target (usually head) should be update for the current view
in an ajax render operation.
|
java.lang.Boolean |
getStrictJsf2ViewNotFound()
If this param is set to true, a check will be done in Restore View Phase
to check if the viewId exists or not and if it does not exists, a 404
response will be thrown.
|
java.lang.Boolean |
getStrictXhtmlLinks()
Use "&" entity instead a plain "&" character within HTML.
|
java.lang.Boolean |
getSupportEl3ImportHandler()
This parameter specifies whether or not the ImportHandler will be
supported.
|
java.lang.Boolean |
getSupportJspAndFacesEl()
If set false, myfaces won't support JSP and javax.faces.el.
|
java.lang.Boolean |
getTemporalResourcehandlerCacheEnabled()
If this param is set to true (default false), a temporal directory is
created and all files handled by this ResourceLoader are cached there,
avoiding the problem described on MYFACES-3586.
|
java.lang.Boolean |
getUseEncryption()
Indicate if the view state is encrypted or not.
|
java.lang.Boolean |
getUseFlashScopePurgeViewsInSession()
Allow use flash scope to keep track of the views used in session and the
previous ones, so server side state saving can delete old views even if
POST-REDIRECT-GET pattern is used.
|
java.lang.Boolean |
getUseMultipleJsFilesForJsfUncompressedJs()
If this param is true and the project stage is development mode, the
source javascript files will be loaded separately instead have all in
just one file, to preserve line numbers and make javascript debugging of
the default jsf javascript file more simple.
|
java.lang.Boolean |
getValidate()
Validate if the managed beans and navigations rules are correct.
|
java.lang.Boolean |
getValidateXml()
If set to true, tag library XML files and faces config XML files using
schema will be validated during application start up.
|
MyfacesProperties.Validator |
getValidator() |
java.lang.Boolean |
getViewPoolDeferredNavigation()
Defines if the view pool uses deferred navigation to recycle views when
navigation is performed.
|
java.lang.String |
getViewPoolEntryMode()
Defines the type of memory reference that is used to hold the view into
memory.
|
java.lang.Integer |
getViewPoolMaxDynamicPartialLimit()
Defines the limit of the views that cannot be reused partially.
|
java.lang.Integer |
getViewPoolMaxPoolSize()
Defines the number of views to be hold per each view metadata definition.
|
java.lang.Boolean |
getViewstateJavascript()
Set the view state using a javascript function instead a hidden input
field.
|
java.lang.Boolean |
getViewUniqueIdsCacheEnabled()
Enable or disable a cache used to 'remember' the generated facelets
unique ids " + "and reduce the impact over memory usage.
|
java.lang.Boolean |
getWrapScriptContentWithXmlCommentTag()
Wrap content inside script with xml comment to prevent old browsers to
display it.
|
java.lang.Boolean |
getWrapTagExceptionsAsContextAware()
Wrap exception caused by calls to EL expressions, so information like the
location, expression string and tag name can be retrieved by the
ExceptionHandler implementation and used to output meaningful information
about itself.
|
int |
hashCode() |
void |
setAlgorithm(java.lang.String algorithm)
Indicate the encryption algorithm used for encrypt the view state.
|
void |
setAlgorithmIv(java.lang.String algorithmIv)
Defines the initialization vector (Base64 encoded) used for the
encryption algorithm.
|
void |
setAlgorithmParameters(java.lang.String algorithmParameters)
Defines the default mode and padding used for the encryption algorithm.
|
void |
setAllowJavascript(java.lang.Boolean allowJavascript)
This parameter tells MyFaces if javascript code should be allowed in the
rendered HTML output.
|
void |
setAnnotation(MyfacesProperties.Annotation annotation) |
void |
setAutocompleteOffViewState(java.lang.Boolean autocompleteOffViewState)
Add autocomplete="off" to the view state hidden field.
|
void |
setCacheElExpressions(java.lang.Boolean cacheElExpressions)
Indicates if expressions generated by facelets should be cached or not.
|
void |
setCacheOldViewsInSessionMode(java.lang.Boolean cacheOldViewsInSessionMode)
This parameter has been removed from 2.
|
void |
setCdiManagedConvertersEnabled(java.lang.Boolean cdiManagedConvertersEnabled)
Enable or disable CDI support for converters.
|
void |
setCdiManagedValidatorsEnabled(java.lang.Boolean cdiManagedValidatorsEnabled)
Enable or disable CDI support for validators.
|
void |
setCheckedViewidCacheEnabled(java.lang.Boolean checkedViewidCacheEnabled)
Enable or disable a cache used to 'remember' if a view exists or not and
reduce the impact " + "of sucesive calls to
ExternalContext.getResource().
|
void |
setCheckedViewidCacheSize(java.lang.Integer checkedViewidCacheSize)
Controls the size of the cache used to 'remember' if a view exists or
not.
|
void |
setCheckIdProductionMode(java.lang.String checkIdProductionMode)
Define how duplicate ids are checked when ProjectStage is Production, by
default (auto) it only check ids of components that does not encapsulate
markup (like facelets UILeaf).
|
void |
setClientViewStateTimeout(java.lang.Integer clientViewStateTimeout)
Define the time in minutes where the view state is valid when client side
state saving is used.
|
void |
setComponentUniqueIdsCacheSize(java.lang.Integer componentUniqueIdsCacheSize)
Set the size of the cache used to store strings generated using
SectionUniqueIdCounter for component ids.
|
void |
setCompressStateInClient(java.lang.Boolean compressStateInClient)
Indicate if the view state should be compressed before
encrypted(optional) and encoded.
|
void |
setCompressStateInSession(java.lang.Boolean compressStateInSession)
Indicates that the serialized state will be compressed before it is
written to the session.
|
void |
setConfigRefreshPeriod(java.lang.Integer configRefreshPeriod)
Set the time in seconds that check for updates of web.
|
void |
setDebugPhaseListener(java.lang.Boolean debugPhaseListener)
Enable/disable DebugPhaseListener feature, with provide useful
information about ValueHolder variables (submittedValue, localValue,
value).
|
void |
setDebugTemplateResource(java.lang.String debugTemplateResource)
Indicate the template name used to render the default debug page (see
ui:debug tag).
|
void |
setDefaultResponseWriterContentTypeMode(java.lang.String DefaultResponseWriterContentTypeMode)
Define the default content type that the default ResponseWriter
generates, when no match can be derived from HTTP Accept Header.
|
void |
setDefaultWindowMode(java.lang.String defaultWindowMode)
no description.
|
void |
setDelegateFacesServlet(java.lang.Class<?> delegateFacesServlet)
Define an alternate class name that will be used to initialize MyFaces,
instead the default javax.
|
void |
setEarlyFlushEnabled(java.lang.Boolean earlyFlushEnabled)
Enable or disable an early flush which allows to send e.g.
|
void |
setElResolverComparator(java.lang.Class<? extends java.util.Comparator<javax.el.ELResolver>> elResolverComparator)
The Class of an Comparator
|
void |
setElResolverPredicate(java.lang.Class<?> elResolverPredicate)
The
Class of an Predicate<ELResolver> implementation. |
void |
setEnumConverterAllowStringPasstrough(java.lang.Boolean enumConverterAllowStringPasstrough)
If value is a String instance and this param is true, pass it directly
without try any change.
|
void |
setErrorHandler(java.lang.String errorHandler)
Deprecated: use JSF 2.0 ExceptionHandler.
|
void |
setErrorHandling(java.lang.Boolean errorHandling)
Indicate if myfaces is responsible to handle errors.
|
void |
setErrorTemplateResource(java.lang.String errorTemplateResource)
Indicate the template name used to render the default error page used by
MyFaces specific error handler implementation.
|
void |
setExpressionFactory(java.lang.Class<? extends javax.el.ExpressionFactory> expressionFactory)
This parameter specifies the ExpressionFactory implementation to use.
|
void |
setFacesFlowClientWindowIdsInSession(java.lang.Integer facesFlowClientWindowIdsInSession)
Indicate the max number of client window ids stored into session by faces
flow.
|
void |
setFacesInitializer(java.lang.Class<? extends org.apache.myfaces.webapp.FacesInitializer> facesInitializer)
Class name of a custom FacesInitializer implementation.
|
void |
setFacesInitPlugins(java.util.List<java.lang.Class<?>> facesInitPlugins)
comma delimited list of plugin classes which can be hooked into myfaces.
|
void |
setFlashScopeDisabled(java.lang.Boolean flashScopeDisabled)
Defines whether flash scope is disabled, preventing add the Flash cookie
to the response.
|
void |
setGaeJsfAnnotationsJarFiles(java.lang.String gaeJsfAnnotationsJarFiles)
When the application runs inside Google Application Engine container
(GAE), indicate which jar files should be scanned for annotations.
|
void |
setGaeJsfJarFiles(java.lang.String gaeJsfJarFiles)
When the application runs inside Google Application Engine container
(GAE), indicate which jar files should be scanned for files
(faces-config, facelets taglib or annotations).
|
void |
setInitializeAlwaysStandalone(java.lang.Boolean initializeAlwaysStandalone)
If this param is set to true, the check for faces servlet mapping is not
done.
|
void |
setInitializeSkipJarFacesConfigScan(java.lang.Boolean initializeSkipJarFacesConfigScan)
If the flag is true, the algoritm skip jar scanning for faces-config
files to check if the current application requires FacesServlet to be
added dynamically (servlet spec 3).
|
void |
setJsfJsMode(java.lang.String jsfJsMode)
Define the mode used for jsf.
|
void |
setLazyLoadConfigObjects(java.lang.Boolean lazyLoadConfigObjects)
Indicate if the classes associated to components, converters, validators
or behaviors should be loaded as soon as they are added to the current
application instance or instead loaded in a lazy way.
|
void |
setLogWebContextParams(java.lang.String logWebContextParams)
Indicate if log all web config params should be done before initialize
the webapp.
|
void |
setMacAlgorithm(java.lang.String macAlgorithm)
Indicate the algorithm used to calculate the Message Authentication Code
that is added to the view state.
|
void |
setMacSecret(java.lang.String macSecret)
Define the initialization code that are used to initialize the secret key
used on the Message Authentication Code algorithm.
|
void |
setMacSecretCache(java.lang.Boolean macSecretCache)
If is set to "false", the secret key used for MAC algorithm is not cached.
|
void |
setMarkInitialStateWhenApplyBuildView(java.lang.Boolean markInitialStateWhenApplyBuildView)
no description.
|
void |
setNumberOfFlashTokensInSession(java.lang.Integer numberOfFlashTokensInSession)
Indicate the max number of flash tokens stored into session.
|
void |
setNumberOfSequentialViewsInSession(java.lang.Integer numberOfSequentialViewsInSession)
Indicates the amount of views (default is not active) that should be
stored in session between sequential POST or POST-REDIRECT-GET if org.
|
void |
setNumberOfViewsInSession(java.lang.Integer numberOfViewsInSession)
Defines the amount (default = 20) of the latest views are stored in
session.
|
void |
setPrettyHtml(java.lang.Boolean prettyHtml)
If true, rendered HTML code will be formatted, so that it is "human
readable".
|
void |
setRandomKeyInCsrfSessionToken(java.lang.String randomKeyInCsrfSessionToken)
Defines how to generate the csrf session token.
|
void |
setRandomKeyInCsrfSessionTokenLength(java.lang.Integer randomKeyInCsrfSessionTokenLength)
Set the default length of the random key used for the csrf session token.
|
void |
setRandomKeyInCsrfSessionTokenSecureRandomAlgoritm(java.lang.String randomKeyInCsrfSessionTokenSecureRandomAlgoritm)
Sets the random algorithm to initialize the secure random id generator.
|
void |
setRandomKeyInCsrfSessionTokenSecureRandomClass(java.lang.String randomKeyInCsrfSessionTokenSecureRandomClass)
Sets the random class to initialize the secure random id generator.
|
void |
setRandomKeyInCsrfSessionTokenSecureRandomProvider(java.lang.String randomKeyInCsrfSessionTokenSecureRandomProvider)
Sets the random provider to initialize the secure random id generator.
|
void |
setRandomKeyInViewStateSessionToken(java.lang.String randomKeyInViewStateSessionToken)
Adds a random key to the generated view state session token.
|
void |
setRandomKeyInViewStateSessionTokenLength(java.lang.Integer randomKeyInViewStateSessionTokenLength)
Set the default length of the random key added to the view state session
token.
|
void |
setRandomKeyInViewStateSessionTokenSecureRandomAlgorithm(java.lang.String randomKeyInViewStateSessionTokenSecureRandomAlgorithm)
Sets the random algorithm to initialize the secure random id generator.
|
void |
setRandomKeyInViewStateSessionTokenSecureRandomClass(java.lang.String randomKeyInViewStateSessionTokenSecureRandomClass)
Sets the random class to initialize the secure random id generator.
|
void |
setRandomKeyInViewStateSessionTokenSecureRandomProvider(java.lang.String randomKeyInViewStateSessionTokenSecureRandomProvider)
Sets the random provider to initialize the secure random id generator.
|
void |
setRefreshTransientBuildOnPss(java.lang.String refreshTransientBuildOnPss)
Indicate if the facelet associated to the view should be reapplied when
the view is refreshed.
|
void |
setRefreshTransientBuildOnPssPreserveState(java.lang.Boolean refreshTransientBuildOnPssPreserveState)
Enable or disable a special mode that enable full state for parent
components containing c:if, c:forEach, c:choose and ui:include with
src=ELExpression.
|
void |
setRenderClearJavascriptForButton(java.lang.Boolean renderClearJavascriptForButton)
This param renders the clear javascript on button necessary only for
compatibility with hidden fields feature of myfaces.
|
void |
setRenderFormSubmitScriptInline(java.lang.Boolean renderFormSubmitScriptInline)
If set true, render the form submit script inline, as in myfaces core 1.
|
void |
setRenderFormViewStateAtBegin(java.lang.Boolean renderFormViewStateAtBegin)
This param makes h:form component to render the view state and other
hidden fields at the beginning of the form.
|
void |
setRenderHiddenFieldsForLinkParams(java.lang.Boolean renderHiddenFieldsForLinkParams)
This param renders hidden fields at the end of h:form for link params
when h:commandLink + f:param is used, instead use javascript to create
them.
|
void |
setRenderViewstateId(java.lang.Boolean renderViewstateId)
Define if the input field that should store the state.
|
void |
setResourceBufferSize(java.lang.Integer resourceBufferSize)
Define the default buffer size that is used between Resource.
|
void |
setResourceHandlerCacheEnabled(java.lang.Boolean resourceHandlerCacheEnabled)
Enable or disable the cache used to "remember" if a resource handled by
the default ResourceHandler exists or not.
|
void |
setResourceHandlerCacheSize(java.lang.Integer resourceHandlerCacheSize)
Controls the size of the cache used to check if a resource exists or not.
|
void |
setResourceMaxTimeExpires(java.lang.Integer resourceMaxTimeExpires)
Set the max time in miliseconds set on the "Expires" header for a
resource rendered by the default ResourceHandler.
|
void |
setSaveFormSubmitLinkIe(java.lang.Boolean saveFormSubmitLinkIe)
Add a code that save the form before submit using a link.
|
void |
setSecret(java.lang.String secret)
Defines the secret (Base64 encoded) used to initialize the secret key for
encryption algorithm.
|
void |
setSecretCache(java.lang.Boolean secretCache)
If is set to "false", the secret key used for encryption algorithm is not
cached.
|
void |
setSerialFactory(java.lang.Class<? extends org.apache.myfaces.shared.util.serial.SerialFactory> serialFactory)
Defines the factory class name using for serialize/deserialize the view
state returned by state manager into a byte array.
|
void |
setSerializeStateInSession(java.lang.Boolean serializeStateInSession)
Indicate if the state should be serialized before save it on the session.
|
void |
setServiceProviderFinder(java.lang.Class<? extends org.apache.myfaces.spi.ServiceProviderFinder> serviceProviderFinder)
Class name of a custom ServiceProviderFinder implementation.
|
void |
setSpi(MyfacesProperties.Spi spi) |
void |
setStrictJsf2AllowSlashLibraryName(java.lang.Boolean strictJsf2AllowSlashLibraryName)
Allow slash in the library name of a Resource.
|
void |
setStrictJsf2CcElResolver(java.lang.String strictJsf2CcElResolver)
Change default getType() behavior for composite component EL resolver,
from return null (see JSF 2_0 spec section 5_6_2_2) to use the metadata
information added by composite:attribute, ensuring components working
with chained EL expressions to find the right type when a getType() is
called over the source EL expression.
|
void |
setStrictJsf2FaceletsCompatibility(java.lang.Boolean strictJsf2FaceletsCompatibility)
This param makes components like c:set, ui:param and templating
components like ui:decorate, ui:composition and ui:include to behave like
the ones provided originally in facelets 1_1_x.
|
void |
setStrictJsf2RefreshTargetAjax(java.lang.Boolean strictJsf2RefreshTargetAjax)
Detect if a target (usually head) should be update for the current view
in an ajax render operation.
|
void |
setStrictJsf2ViewNotFound(java.lang.Boolean strictJsf2ViewNotFound)
If this param is set to true, a check will be done in Restore View Phase
to check if the viewId exists or not and if it does not exists, a 404
response will be thrown.
|
void |
setStrictXhtmlLinks(java.lang.Boolean strictXhtmlLinks)
Use "&" entity instead a plain "&" character within HTML.
|
void |
setSupportEl3ImportHandler(java.lang.Boolean supportEl3ImportHandler)
This parameter specifies whether or not the ImportHandler will be
supported.
|
void |
setSupportJspAndFacesEl(java.lang.Boolean supportJspAndFacesEl)
If set false, myfaces won't support JSP and javax.faces.el.
|
void |
setTemporalResourcehandlerCacheEnabled(java.lang.Boolean temporalResourcehandlerCacheEnabled)
If this param is set to true (default false), a temporal directory is
created and all files handled by this ResourceLoader are cached there,
avoiding the problem described on MYFACES-3586.
|
void |
setUseEncryption(java.lang.Boolean useEncryption)
Indicate if the view state is encrypted or not.
|
void |
setUseFlashScopePurgeViewsInSession(java.lang.Boolean useFlashScopePurgeViewsInSession)
Allow use flash scope to keep track of the views used in session and the
previous ones, so server side state saving can delete old views even if
POST-REDIRECT-GET pattern is used.
|
void |
setUseMultipleJsFilesForJsfUncompressedJs(java.lang.Boolean useMultipleJsFilesForJsfUncompressedJs)
If this param is true and the project stage is development mode, the
source javascript files will be loaded separately instead have all in
just one file, to preserve line numbers and make javascript debugging of
the default jsf javascript file more simple.
|
void |
setValidate(java.lang.Boolean validate)
Validate if the managed beans and navigations rules are correct.
|
void |
setValidateXml(java.lang.Boolean validateXml)
If set to true, tag library XML files and faces config XML files using
schema will be validated during application start up.
|
void |
setValidator(MyfacesProperties.Validator validator) |
void |
setViewPoolDeferredNavigation(java.lang.Boolean viewPoolDeferredNavigation)
Defines if the view pool uses deferred navigation to recycle views when
navigation is performed.
|
void |
setViewPoolEntryMode(java.lang.String viewPoolEntryMode)
Defines the type of memory reference that is used to hold the view into
memory.
|
void |
setViewPoolMaxDynamicPartialLimit(java.lang.Integer viewPoolMaxDynamicPartialLimit)
Defines the limit of the views that cannot be reused partially.
|
void |
setViewPoolMaxPoolSize(java.lang.Integer viewPoolMaxPoolSize)
Defines the number of views to be hold per each view metadata definition.
|
void |
setViewstateJavascript(java.lang.Boolean viewstateJavascript)
Set the view state using a javascript function instead a hidden input
field.
|
void |
setViewUniqueIdsCacheEnabled(java.lang.Boolean viewUniqueIdsCacheEnabled)
Enable or disable a cache used to 'remember' the generated facelets
unique ids " + "and reduce the impact over memory usage.
|
void |
setWrapScriptContentWithXmlCommentTag(java.lang.Boolean wrapScriptContentWithXmlCommentTag)
Wrap content inside script with xml comment to prevent old browsers to
display it.
|
void |
setWrapTagExceptionsAsContextAware(java.lang.Boolean wrapTagExceptionsAsContextAware)
Wrap exception caused by calls to EL expressions, so information like the
location, expression string and tag name can be retrieved by the
ExceptionHandler implementation and used to output meaningful information
about itself.
|
java.lang.String |
toString() |
public java.lang.String getLogWebContextParams()
public java.lang.Boolean getEnumConverterAllowStringPasstrough()
public java.lang.String getErrorHandler()
public java.lang.Integer getCheckedViewidCacheSize()
public java.lang.Boolean getCheckedViewidCacheEnabled()
public java.lang.Boolean getPrettyHtml()
public java.lang.Boolean getAllowJavascript()
public java.lang.Integer getConfigRefreshPeriod()
public java.lang.Boolean getViewstateJavascript()
public java.lang.Boolean getRenderViewstateId()
public java.lang.Boolean getStrictXhtmlLinks()
public java.lang.Boolean getRenderClearJavascriptForButton()
public java.lang.Boolean getRenderHiddenFieldsForLinkParams()
public java.lang.Boolean getSaveFormSubmitLinkIe()
public java.lang.Class<?> getDelegateFacesServlet()
public java.lang.String getRefreshTransientBuildOnPss()
public java.lang.Boolean getRefreshTransientBuildOnPssPreserveState()
public java.lang.Boolean getValidateXml()
public java.lang.Boolean getWrapScriptContentWithXmlCommentTag()
public java.lang.Boolean getRenderFormSubmitScriptInline()
public java.lang.Boolean getDebugPhaseListener()
public java.lang.Boolean getStrictJsf2RefreshTargetAjax()
public java.lang.String getStrictJsf2CcElResolver()
public java.lang.String getDefaultResponseWriterContentTypeMode()
public java.lang.Boolean getViewUniqueIdsCacheEnabled()
public java.lang.Integer getComponentUniqueIdsCacheSize()
public java.lang.Boolean getSupportJspAndFacesEl()
public java.lang.String getGaeJsfJarFiles()
public java.lang.String getGaeJsfAnnotationsJarFiles()
public java.lang.Boolean getStrictJsf2ViewNotFound()
public java.lang.Boolean getEarlyFlushEnabled()
public java.lang.Boolean getCdiManagedConvertersEnabled()
public java.lang.Boolean getCdiManagedValidatorsEnabled()
public java.lang.Boolean getStrictJsf2FaceletsCompatibility()
public java.lang.Boolean getRenderFormViewStateAtBegin()
public java.lang.Boolean getFlashScopeDisabled()
public java.lang.Integer getNumberOfViewsInSession()
public java.lang.Integer getNumberOfSequentialViewsInSession()
public java.lang.Integer getNumberOfFlashTokensInSession()
public java.lang.Integer getFacesFlowClientWindowIdsInSession()
public java.lang.Boolean getSupportEl3ImportHandler()
public java.lang.Integer getResourceMaxTimeExpires()
public java.lang.Integer getResourceHandlerCacheSize()
public java.lang.Boolean getResourceHandlerCacheEnabled()
public java.lang.Boolean getUseEncryption()
public java.lang.String getSecret()
public java.lang.Boolean getSecretCache()
public java.lang.String getAlgorithm()
public java.lang.String getAlgorithmIv()
public java.lang.String getAlgorithmParameters()
public java.lang.Class<? extends org.apache.myfaces.shared.util.serial.SerialFactory> getSerialFactory()
public java.lang.Boolean getCompressStateInClient()
public java.lang.String getMacAlgorithm()
public java.lang.String getMacSecret()
public java.lang.Boolean getMacSecretCache()
public java.lang.Boolean getLazyLoadConfigObjects()
public java.lang.Boolean getStrictJsf2AllowSlashLibraryName()
public java.lang.Integer getResourceBufferSize()
public java.lang.String getRandomKeyInCsrfSessionToken()
public java.lang.Integer getRandomKeyInCsrfSessionTokenLength()
public java.lang.String getRandomKeyInCsrfSessionTokenSecureRandomClass()
public java.lang.String getRandomKeyInCsrfSessionTokenSecureRandomProvider()
public java.lang.String getRandomKeyInCsrfSessionTokenSecureRandomAlgoritm()
public java.lang.Integer getClientViewStateTimeout()
public java.lang.Boolean getSerializeStateInSession()
public java.lang.Boolean getCompressStateInSession()
public java.lang.Boolean getCacheOldViewsInSessionMode()
public java.lang.Boolean getUseFlashScopePurgeViewsInSession()
public java.lang.String getRandomKeyInViewStateSessionToken()
public java.lang.Integer getRandomKeyInViewStateSessionTokenLength()
public java.lang.String getRandomKeyInViewStateSessionTokenSecureRandomClass()
public java.lang.String getRandomKeyInViewStateSessionTokenSecureRandomProvider()
public java.lang.String getRandomKeyInViewStateSessionTokenSecureRandomAlgorithm()
public java.lang.Boolean getValidate()
public MyfacesProperties.Annotation getAnnotation()
public java.lang.Boolean getInitializeSkipJarFacesConfigScan()
public java.lang.Class<? extends java.util.Comparator<javax.el.ELResolver>> getElResolverComparator()
public java.lang.Class<?> getElResolverPredicate()
Class
of an Predicate<ELResolver> implementation.
If used and returns true for a ELResolver instance, such resolver will not be installed in ELResolvers chain.
Use with caution - can break functionality defined in JSF specification 'ELResolver Instances Provided by Faces'.
For MyFaces versions up to 2.2.x the class provided here must implement the
org.apache.commons.collections.Predicate
interface,
since version 2.3.0 the class must implement the Predicate
interface.ResolverBuilderBase.EL_RESOLVER_PREDICATE
,
org.apache.commons.collections.Predicate
,
Predicate
public java.lang.String getDefaultWindowMode()
public java.lang.String getErrorTemplateResource()
public java.lang.String getDebugTemplateResource()
public java.lang.Boolean getErrorHandling()
public java.lang.Boolean getAutocompleteOffViewState()
public java.lang.Boolean getUseMultipleJsFilesForJsfUncompressedJs()
public java.lang.String getJsfJsMode()
public java.lang.Boolean getTemporalResourcehandlerCacheEnabled()
public java.lang.Class<? extends org.apache.myfaces.spi.ServiceProviderFinder> getServiceProviderFinder()
public MyfacesProperties.Spi getSpi()
public java.lang.String getCheckIdProductionMode()
public java.lang.Boolean getMarkInitialStateWhenApplyBuildView()
public java.lang.Boolean getWrapTagExceptionsAsContextAware()
public java.lang.Boolean getCacheElExpressions()
public java.lang.Integer getViewPoolMaxPoolSize()
public java.lang.Integer getViewPoolMaxDynamicPartialLimit()
public java.lang.String getViewPoolEntryMode()
public java.lang.Boolean getViewPoolDeferredNavigation()
public MyfacesProperties.Validator getValidator()
public java.lang.Class<? extends javax.el.ExpressionFactory> getExpressionFactory()
public java.lang.Boolean getInitializeAlwaysStandalone()
public java.lang.Class<? extends org.apache.myfaces.webapp.FacesInitializer> getFacesInitializer()
public java.util.List<java.lang.Class<?>> getFacesInitPlugins()
public void setLogWebContextParams(java.lang.String logWebContextParams)
public void setEnumConverterAllowStringPasstrough(java.lang.Boolean enumConverterAllowStringPasstrough)
public void setErrorHandler(java.lang.String errorHandler)
public void setCheckedViewidCacheSize(java.lang.Integer checkedViewidCacheSize)
public void setCheckedViewidCacheEnabled(java.lang.Boolean checkedViewidCacheEnabled)
public void setPrettyHtml(java.lang.Boolean prettyHtml)
public void setAllowJavascript(java.lang.Boolean allowJavascript)
public void setConfigRefreshPeriod(java.lang.Integer configRefreshPeriod)
public void setViewstateJavascript(java.lang.Boolean viewstateJavascript)
public void setRenderViewstateId(java.lang.Boolean renderViewstateId)
public void setStrictXhtmlLinks(java.lang.Boolean strictXhtmlLinks)
public void setRenderClearJavascriptForButton(java.lang.Boolean renderClearJavascriptForButton)
public void setRenderHiddenFieldsForLinkParams(java.lang.Boolean renderHiddenFieldsForLinkParams)
public void setSaveFormSubmitLinkIe(java.lang.Boolean saveFormSubmitLinkIe)
public void setDelegateFacesServlet(java.lang.Class<?> delegateFacesServlet)
public void setRefreshTransientBuildOnPss(java.lang.String refreshTransientBuildOnPss)
public void setRefreshTransientBuildOnPssPreserveState(java.lang.Boolean refreshTransientBuildOnPssPreserveState)
public void setValidateXml(java.lang.Boolean validateXml)
public void setWrapScriptContentWithXmlCommentTag(java.lang.Boolean wrapScriptContentWithXmlCommentTag)
public void setRenderFormSubmitScriptInline(java.lang.Boolean renderFormSubmitScriptInline)
public void setDebugPhaseListener(java.lang.Boolean debugPhaseListener)
public void setStrictJsf2RefreshTargetAjax(java.lang.Boolean strictJsf2RefreshTargetAjax)
public void setStrictJsf2CcElResolver(java.lang.String strictJsf2CcElResolver)
public void setDefaultResponseWriterContentTypeMode(java.lang.String DefaultResponseWriterContentTypeMode)
public void setViewUniqueIdsCacheEnabled(java.lang.Boolean viewUniqueIdsCacheEnabled)
public void setComponentUniqueIdsCacheSize(java.lang.Integer componentUniqueIdsCacheSize)
public void setSupportJspAndFacesEl(java.lang.Boolean supportJspAndFacesEl)
public void setGaeJsfJarFiles(java.lang.String gaeJsfJarFiles)
public void setGaeJsfAnnotationsJarFiles(java.lang.String gaeJsfAnnotationsJarFiles)
public void setStrictJsf2ViewNotFound(java.lang.Boolean strictJsf2ViewNotFound)
public void setEarlyFlushEnabled(java.lang.Boolean earlyFlushEnabled)
public void setCdiManagedConvertersEnabled(java.lang.Boolean cdiManagedConvertersEnabled)
public void setCdiManagedValidatorsEnabled(java.lang.Boolean cdiManagedValidatorsEnabled)
public void setStrictJsf2FaceletsCompatibility(java.lang.Boolean strictJsf2FaceletsCompatibility)
public void setRenderFormViewStateAtBegin(java.lang.Boolean renderFormViewStateAtBegin)
public void setFlashScopeDisabled(java.lang.Boolean flashScopeDisabled)
public void setNumberOfViewsInSession(java.lang.Integer numberOfViewsInSession)
public void setNumberOfSequentialViewsInSession(java.lang.Integer numberOfSequentialViewsInSession)
public void setNumberOfFlashTokensInSession(java.lang.Integer numberOfFlashTokensInSession)
public void setFacesFlowClientWindowIdsInSession(java.lang.Integer facesFlowClientWindowIdsInSession)
public void setSupportEl3ImportHandler(java.lang.Boolean supportEl3ImportHandler)
public void setResourceMaxTimeExpires(java.lang.Integer resourceMaxTimeExpires)
public void setResourceHandlerCacheSize(java.lang.Integer resourceHandlerCacheSize)
public void setResourceHandlerCacheEnabled(java.lang.Boolean resourceHandlerCacheEnabled)
public void setUseEncryption(java.lang.Boolean useEncryption)
public void setSecret(java.lang.String secret)
public void setSecretCache(java.lang.Boolean secretCache)
public void setAlgorithm(java.lang.String algorithm)
public void setAlgorithmIv(java.lang.String algorithmIv)
public void setAlgorithmParameters(java.lang.String algorithmParameters)
public void setSerialFactory(java.lang.Class<? extends org.apache.myfaces.shared.util.serial.SerialFactory> serialFactory)
public void setCompressStateInClient(java.lang.Boolean compressStateInClient)
public void setMacAlgorithm(java.lang.String macAlgorithm)
public void setMacSecret(java.lang.String macSecret)
public void setMacSecretCache(java.lang.Boolean macSecretCache)
public void setLazyLoadConfigObjects(java.lang.Boolean lazyLoadConfigObjects)
public void setStrictJsf2AllowSlashLibraryName(java.lang.Boolean strictJsf2AllowSlashLibraryName)
public void setResourceBufferSize(java.lang.Integer resourceBufferSize)
public void setRandomKeyInCsrfSessionToken(java.lang.String randomKeyInCsrfSessionToken)
public void setRandomKeyInCsrfSessionTokenLength(java.lang.Integer randomKeyInCsrfSessionTokenLength)
public void setRandomKeyInCsrfSessionTokenSecureRandomClass(java.lang.String randomKeyInCsrfSessionTokenSecureRandomClass)
public void setRandomKeyInCsrfSessionTokenSecureRandomProvider(java.lang.String randomKeyInCsrfSessionTokenSecureRandomProvider)
public void setRandomKeyInCsrfSessionTokenSecureRandomAlgoritm(java.lang.String randomKeyInCsrfSessionTokenSecureRandomAlgoritm)
public void setClientViewStateTimeout(java.lang.Integer clientViewStateTimeout)
public void setSerializeStateInSession(java.lang.Boolean serializeStateInSession)
public void setCompressStateInSession(java.lang.Boolean compressStateInSession)
public void setCacheOldViewsInSessionMode(java.lang.Boolean cacheOldViewsInSessionMode)
public void setUseFlashScopePurgeViewsInSession(java.lang.Boolean useFlashScopePurgeViewsInSession)
public void setRandomKeyInViewStateSessionToken(java.lang.String randomKeyInViewStateSessionToken)
public void setRandomKeyInViewStateSessionTokenLength(java.lang.Integer randomKeyInViewStateSessionTokenLength)
public void setRandomKeyInViewStateSessionTokenSecureRandomClass(java.lang.String randomKeyInViewStateSessionTokenSecureRandomClass)
public void setRandomKeyInViewStateSessionTokenSecureRandomProvider(java.lang.String randomKeyInViewStateSessionTokenSecureRandomProvider)
public void setRandomKeyInViewStateSessionTokenSecureRandomAlgorithm(java.lang.String randomKeyInViewStateSessionTokenSecureRandomAlgorithm)
public void setValidate(java.lang.Boolean validate)
public void setAnnotation(MyfacesProperties.Annotation annotation)
public void setInitializeSkipJarFacesConfigScan(java.lang.Boolean initializeSkipJarFacesConfigScan)
public void setElResolverComparator(java.lang.Class<? extends java.util.Comparator<javax.el.ELResolver>> elResolverComparator)
public void setElResolverPredicate(java.lang.Class<?> elResolverPredicate)
Class
of an Predicate<ELResolver> implementation.
If used and returns true for a ELResolver instance, such resolver will not be installed in ELResolvers chain.
Use with caution - can break functionality defined in JSF specification 'ELResolver Instances Provided by Faces'.
For MyFaces versions up to 2.2.x the class provided here must implement the
org.apache.commons.collections.Predicate
interface,
since version 2.3.0 the class must implement the Predicate
interface.ResolverBuilderBase.EL_RESOLVER_PREDICATE
,
org.apache.commons.collections.Predicate
,
Predicate
public void setDefaultWindowMode(java.lang.String defaultWindowMode)
public void setErrorTemplateResource(java.lang.String errorTemplateResource)
public void setDebugTemplateResource(java.lang.String debugTemplateResource)
public void setErrorHandling(java.lang.Boolean errorHandling)
public void setAutocompleteOffViewState(java.lang.Boolean autocompleteOffViewState)
public void setUseMultipleJsFilesForJsfUncompressedJs(java.lang.Boolean useMultipleJsFilesForJsfUncompressedJs)
public void setJsfJsMode(java.lang.String jsfJsMode)
public void setTemporalResourcehandlerCacheEnabled(java.lang.Boolean temporalResourcehandlerCacheEnabled)
public void setServiceProviderFinder(java.lang.Class<? extends org.apache.myfaces.spi.ServiceProviderFinder> serviceProviderFinder)
public void setSpi(MyfacesProperties.Spi spi)
public void setCheckIdProductionMode(java.lang.String checkIdProductionMode)
public void setMarkInitialStateWhenApplyBuildView(java.lang.Boolean markInitialStateWhenApplyBuildView)
public void setWrapTagExceptionsAsContextAware(java.lang.Boolean wrapTagExceptionsAsContextAware)
public void setCacheElExpressions(java.lang.Boolean cacheElExpressions)
public void setViewPoolMaxPoolSize(java.lang.Integer viewPoolMaxPoolSize)
public void setViewPoolMaxDynamicPartialLimit(java.lang.Integer viewPoolMaxDynamicPartialLimit)
public void setViewPoolEntryMode(java.lang.String viewPoolEntryMode)
public void setViewPoolDeferredNavigation(java.lang.Boolean viewPoolDeferredNavigation)
public void setValidator(MyfacesProperties.Validator validator)
public void setExpressionFactory(java.lang.Class<? extends javax.el.ExpressionFactory> expressionFactory)
public void setInitializeAlwaysStandalone(java.lang.Boolean initializeAlwaysStandalone)
public void setFacesInitializer(java.lang.Class<? extends org.apache.myfaces.webapp.FacesInitializer> facesInitializer)
public void setFacesInitPlugins(java.util.List<java.lang.Class<?>> facesInitPlugins)
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