Class MyfacesProperties
- java.lang.Object
- 
- org.joinfaces.autoconfigure.myfaces.MyfacesProperties
 
- 
- All Implemented Interfaces:
- ServletContextInitParameterProperties
 
 @ConfigurationProperties(prefix="joinfaces.myfaces") public class MyfacesProperties extends Object implements ServletContextInitParameterProperties Configuration properties of MyFaces. Taken from https://myfaces.apache.org/core22/myfaces-impl/webconfig.html and from https://myfaces.apache.org/core22/myfaces-impl/apidocs/constant-values.html
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMyfacesProperties.AnnotationAnnotation class of useCdiForAnnotationScanning and scanPackages properties.static classMyfacesProperties.SpiSpi class of injectionProvider property..static classMyfacesProperties.ValidatorValidator class of beanBeforeJsfValidation property.
 - 
Constructor SummaryConstructors Constructor Description MyfacesProperties()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetAlgorithm()Indicate the encryption algorithm used for encrypt the view state.StringgetAlgorithmIv()Defines the initialization vector (Base64 encoded) used for the encryption algorithm.StringgetAlgorithmParameters()Defines the default mode and padding used for the encryption algorithm.BooleangetAllowJavascript()This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output.MyfacesProperties.AnnotationgetAnnotation()BooleangetAutocompleteOffViewState()Add autocomplete="off" to the view state hidden field.ELExpressionCacheModegetCacheElExpressions()Indicates if expressions generated by facelets should be cached or not.BooleangetCacheOldViewsInSessionMode()This parameter has been removed from 2.BooleangetCdiManagedConvertersEnabled()Enable or disable CDI support for converters.BooleangetCdiManagedValidatorsEnabled()Enable or disable CDI support for validators.BooleangetCheckedViewidCacheEnabled()Enable or disable a cache used to 'remember' if a view exists or not and reduce the impact " + "of sucesive calls to ExternalContext.getResource().IntegergetCheckedViewidCacheSize()Controls the size of the cache used to 'remember' if a view exists or not.StringgetCheckIdProductionMode()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).DurationgetClientViewStateTimeout()Define the time in minutes where the view state is valid when client side state saving is used.IntegergetComponentUniqueIdsCacheSize()Set the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids.BooleangetCompressStateInClient()Indicate if the view state should be compressed before encrypted(optional) and encoded.BooleangetCompressStateInSession()Indicates that the serialized state will be compressed before it is written to the session.DurationgetConfigRefreshPeriod()Set the time in seconds that check for updates of web.BooleangetDebugPhaseListener()Enable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value).StringgetDebugTemplateResource()Indicate the template name used to render the default debug page (see ui:debug tag).StringgetDefaultResponseWriterContentTypeMode()Define the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header.StringgetDefaultWindowMode()no description.Class<?>getDelegateFacesServlet()Define an alternate class name that will be used to initialize MyFaces, instead the default javax.BooleangetEarlyFlushEnabled()Enable or disable an early flush which allows to send e.g.Class<? extends Comparator<ELResolver>>getElResolverComparator()The Class of anComparator<ELResolver/>implementation.Class<?>getElResolverPredicate()TheClassof anPredicate<ELResolver>implementation.BooleangetEnumConverterAllowStringPasstrough()If value is a String instance and this param is true, pass it directly without try any change.StringgetErrorHandler()Deprecated: use JSF 2.0 ExceptionHandler.BooleangetErrorHandling()Indicate if myfaces is responsible to handle errors.StringgetErrorTemplateResource()Indicate the template name used to render the default error page used by MyFaces specific error handler implementation.Class<? extends ExpressionFactory>getExpressionFactory()This parameter specifies the ExpressionFactory implementation to use.IntegergetFacesFlowClientWindowIdsInSession()Indicate the max number of client window ids stored into session by faces flow.Class<? extends FacesInitializer>getFacesInitializer()Class name of a custom FacesInitializer implementation.List<Class<?>>getFacesInitPlugins()comma delimited list of plugin classes which can be hooked into myfaces.BooleangetFlashScopeDisabled()Defines whether flash scope is disabled, preventing add the Flash cookie to the response.StringgetGaeJsfAnnotationsJarFiles()When the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for annotations.StringgetGaeJsfJarFiles()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).BooleangetInitializeAlwaysStandalone()If this param is set to true, the check for faces servlet mapping is not done.BooleangetInitializeSkipJarFacesConfigScan()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).StringgetJsfJsMode()Define the mode used for jsf.BooleangetLazyLoadConfigObjects()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.StringgetLogWebContextParams()Indicate if log all web config params should be done before initialize the webapp.StringgetMacAlgorithm()Indicate the algorithm used to calculate the Message Authentication Code that is added to the view state.StringgetMacSecret()Define the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm.BooleangetMacSecretCache()If is set to "false", the secret key used for MAC algorithm is not cached.BooleangetMarkInitialStateWhenApplyBuildView()no description.IntegergetNumberOfFlashTokensInSession()Indicate the max number of flash tokens stored into session.IntegergetNumberOfSequentialViewsInSession()Indicates the amount of views (default is not active) that should be stored in session between sequential POST or POST-REDIRECT-GET if org.IntegergetNumberOfViewsInSession()Defines the amount (default = 20) of the latest views are stored in session.BooleangetPrettyHtml()If true, rendered HTML code will be formatted, so that it is "human readable".StringgetRandomKeyInCsrfSessionToken()Defines how to generate the csrf session token.IntegergetRandomKeyInCsrfSessionTokenLength()Set the default length of the random key used for the csrf session token.StringgetRandomKeyInCsrfSessionTokenSecureRandomAlgoritm()Sets the random algorithm to initialize the secure random id generator.StringgetRandomKeyInCsrfSessionTokenSecureRandomClass()Sets the random class to initialize the secure random id generator.StringgetRandomKeyInCsrfSessionTokenSecureRandomProvider()Sets the random provider to initialize the secure random id generator.StringgetRandomKeyInViewStateSessionToken()Adds a random key to the generated view state session token.IntegergetRandomKeyInViewStateSessionTokenLength()Set the default length of the random key added to the view state session token.StringgetRandomKeyInViewStateSessionTokenSecureRandomAlgorithm()Sets the random algorithm to initialize the secure random id generator.Class<? extends SecureRandom>getRandomKeyInViewStateSessionTokenSecureRandomClass()Sets the random class to initialize the secure random id generator.StringgetRandomKeyInViewStateSessionTokenSecureRandomProvider()Sets the random provider to initialize the secure random id generator.StringgetRefreshTransientBuildOnPss()Indicate if the facelet associated to the view should be reapplied when the view is refreshed.BooleangetRefreshTransientBuildOnPssPreserveState()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.BooleangetRenderClearJavascriptForButton()This param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces.BooleangetRenderFormSubmitScriptInline()If set true, render the form submit script inline, as in myfaces core 1.BooleangetRenderFormViewStateAtBegin()This param makes h:form component to render the view state and other hidden fields at the beginning of the form.BooleangetRenderHiddenFieldsForLinkParams()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.BooleangetRenderViewstateId()Define if the input field that should store the state.DataSizegetResourceBufferSize()Define the default buffer size that is used between Resource.BooleangetResourceHandlerCacheEnabled()Enable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not.IntegergetResourceHandlerCacheSize()Controls the size of the cache used to check if a resource exists or not.DurationgetResourceMaxTimeExpires()Set the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler.BooleangetSaveFormSubmitLinkIe()Add a code that save the form before submit using a link.StringgetSecret()Defines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm.BooleangetSecretCache()If is set to "false", the secret key used for encryption algorithm is not cached.Class<?>getSerialFactory()Defines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array.BooleangetSerializeStateInSession()Indicate if the state should be serialized before save it on the session.Class<? extends ServiceProviderFinder>getServiceProviderFinder()Class name of a custom ServiceProviderFinder implementation.MyfacesProperties.SpigetSpi()BooleangetStrictJsf2AllowSlashLibraryName()Allow slash in the library name of a Resource.StringgetStrictJsf2CcElResolver()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.BooleangetStrictJsf2FaceletsCompatibility()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.BooleangetStrictJsf2RefreshTargetAjax()Detect if a target (usually head) should be update for the current view in an ajax render operation.BooleangetStrictJsf2ViewNotFound()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.BooleangetStrictXhtmlLinks()Use&entity instead a plain&character within HTML.BooleangetSupportEl3ImportHandler()This parameter specifies whether or not the ImportHandler will be supported.BooleangetSupportJspAndFacesEl()If set false, myfaces won't support JSP and javax.faces.el.BooleangetTemporalResourcehandlerCacheEnabled()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.BooleangetUseEncryption()Indicate if the view state is encrypted or not.BooleangetUseFlashScopePurgeViewsInSession()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.BooleangetUseMultipleJsFilesForJsfUncompressedJs()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.BooleangetValidate()Validate if the managed beans and navigations rules are correct.BooleangetValidateXml()If set to true, tag library XML files and faces config XML files using schema will be validated during application start up.MyfacesProperties.ValidatorgetValidator()BooleangetViewPoolDeferredNavigation()Defines if the view pool uses deferred navigation to recycle views when navigation is performed.StringgetViewPoolEntryMode()Defines the type of memory reference that is used to hold the view into memory.IntegergetViewPoolMaxDynamicPartialLimit()Defines the limit of the views that cannot be reused partially.IntegergetViewPoolMaxPoolSize()Defines the number of views to be hold per each view metadata definition.BooleangetViewstateJavascript()Set the view state using a javascript function instead a hidden input field.BooleangetViewUniqueIdsCacheEnabled()Enable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage.BooleangetWrapScriptContentWithXmlCommentTag()Wrap content inside script with xml comment to prevent old browsers to display it.BooleangetWrapTagExceptionsAsContextAware()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.inthashCode()voidsetAlgorithm(String algorithm)Indicate the encryption algorithm used for encrypt the view state.voidsetAlgorithmIv(String algorithmIv)Defines the initialization vector (Base64 encoded) used for the encryption algorithm.voidsetAlgorithmParameters(String algorithmParameters)Defines the default mode and padding used for the encryption algorithm.voidsetAllowJavascript(Boolean allowJavascript)This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output.voidsetAutocompleteOffViewState(Boolean autocompleteOffViewState)Add autocomplete="off" to the view state hidden field.voidsetCacheElExpressions(ELExpressionCacheMode cacheElExpressions)Indicates if expressions generated by facelets should be cached or not.voidsetCacheOldViewsInSessionMode(Boolean cacheOldViewsInSessionMode)This parameter has been removed from 2.voidsetCdiManagedConvertersEnabled(Boolean cdiManagedConvertersEnabled)Enable or disable CDI support for converters.voidsetCdiManagedValidatorsEnabled(Boolean cdiManagedValidatorsEnabled)Enable or disable CDI support for validators.voidsetCheckedViewidCacheEnabled(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().voidsetCheckedViewidCacheSize(Integer checkedViewidCacheSize)Controls the size of the cache used to 'remember' if a view exists or not.voidsetCheckIdProductionMode(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).voidsetClientViewStateTimeout(Duration clientViewStateTimeout)Define the time in minutes where the view state is valid when client side state saving is used.voidsetComponentUniqueIdsCacheSize(Integer componentUniqueIdsCacheSize)Set the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids.voidsetCompressStateInClient(Boolean compressStateInClient)Indicate if the view state should be compressed before encrypted(optional) and encoded.voidsetCompressStateInSession(Boolean compressStateInSession)Indicates that the serialized state will be compressed before it is written to the session.voidsetConfigRefreshPeriod(Duration configRefreshPeriod)Set the time in seconds that check for updates of web.voidsetDebugPhaseListener(Boolean debugPhaseListener)Enable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value).voidsetDebugTemplateResource(String debugTemplateResource)Indicate the template name used to render the default debug page (see ui:debug tag).voidsetDefaultResponseWriterContentTypeMode(String DefaultResponseWriterContentTypeMode)Define the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header.voidsetDefaultWindowMode(String defaultWindowMode)no description.voidsetDelegateFacesServlet(Class<?> delegateFacesServlet)Define an alternate class name that will be used to initialize MyFaces, instead the default javax.voidsetEarlyFlushEnabled(Boolean earlyFlushEnabled)Enable or disable an early flush which allows to send e.g.voidsetElResolverComparator(Class<? extends Comparator<ELResolver>> elResolverComparator)The Class of anComparator<ELResolver/>implementation.voidsetElResolverPredicate(Class<?> elResolverPredicate)TheClassof anPredicate<ELResolver>implementation.voidsetEnumConverterAllowStringPasstrough(Boolean enumConverterAllowStringPasstrough)If value is a String instance and this param is true, pass it directly without try any change.voidsetErrorHandler(String errorHandler)Deprecated: use JSF 2.0 ExceptionHandler.voidsetErrorHandling(Boolean errorHandling)Indicate if myfaces is responsible to handle errors.voidsetErrorTemplateResource(String errorTemplateResource)Indicate the template name used to render the default error page used by MyFaces specific error handler implementation.voidsetExpressionFactory(Class<? extends ExpressionFactory> expressionFactory)This parameter specifies the ExpressionFactory implementation to use.voidsetFacesFlowClientWindowIdsInSession(Integer facesFlowClientWindowIdsInSession)Indicate the max number of client window ids stored into session by faces flow.voidsetFacesInitializer(Class<? extends FacesInitializer> facesInitializer)Class name of a custom FacesInitializer implementation.voidsetFacesInitPlugins(List<Class<?>> facesInitPlugins)comma delimited list of plugin classes which can be hooked into myfaces.voidsetFlashScopeDisabled(Boolean flashScopeDisabled)Defines whether flash scope is disabled, preventing add the Flash cookie to the response.voidsetGaeJsfAnnotationsJarFiles(String gaeJsfAnnotationsJarFiles)When the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for annotations.voidsetGaeJsfJarFiles(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).voidsetInitializeAlwaysStandalone(Boolean initializeAlwaysStandalone)If this param is set to true, the check for faces servlet mapping is not done.voidsetInitializeSkipJarFacesConfigScan(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).voidsetJsfJsMode(String jsfJsMode)Define the mode used for jsf.voidsetLazyLoadConfigObjects(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.voidsetLogWebContextParams(String logWebContextParams)Indicate if log all web config params should be done before initialize the webapp.voidsetMacAlgorithm(String macAlgorithm)Indicate the algorithm used to calculate the Message Authentication Code that is added to the view state.voidsetMacSecret(String macSecret)Define the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm.voidsetMacSecretCache(Boolean macSecretCache)If is set to "false", the secret key used for MAC algorithm is not cached.voidsetMarkInitialStateWhenApplyBuildView(Boolean markInitialStateWhenApplyBuildView)no description.voidsetNumberOfFlashTokensInSession(Integer numberOfFlashTokensInSession)Indicate the max number of flash tokens stored into session.voidsetNumberOfSequentialViewsInSession(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.voidsetNumberOfViewsInSession(Integer numberOfViewsInSession)Defines the amount (default = 20) of the latest views are stored in session.voidsetPrettyHtml(Boolean prettyHtml)If true, rendered HTML code will be formatted, so that it is "human readable".voidsetRandomKeyInCsrfSessionToken(String randomKeyInCsrfSessionToken)Defines how to generate the csrf session token.voidsetRandomKeyInCsrfSessionTokenLength(Integer randomKeyInCsrfSessionTokenLength)Set the default length of the random key used for the csrf session token.voidsetRandomKeyInCsrfSessionTokenSecureRandomAlgoritm(String randomKeyInCsrfSessionTokenSecureRandomAlgoritm)Sets the random algorithm to initialize the secure random id generator.voidsetRandomKeyInCsrfSessionTokenSecureRandomClass(String randomKeyInCsrfSessionTokenSecureRandomClass)Sets the random class to initialize the secure random id generator.voidsetRandomKeyInCsrfSessionTokenSecureRandomProvider(String randomKeyInCsrfSessionTokenSecureRandomProvider)Sets the random provider to initialize the secure random id generator.voidsetRandomKeyInViewStateSessionToken(String randomKeyInViewStateSessionToken)Adds a random key to the generated view state session token.voidsetRandomKeyInViewStateSessionTokenLength(Integer randomKeyInViewStateSessionTokenLength)Set the default length of the random key added to the view state session token.voidsetRandomKeyInViewStateSessionTokenSecureRandomAlgorithm(String randomKeyInViewStateSessionTokenSecureRandomAlgorithm)Sets the random algorithm to initialize the secure random id generator.voidsetRandomKeyInViewStateSessionTokenSecureRandomClass(Class<? extends SecureRandom> randomKeyInViewStateSessionTokenSecureRandomClass)Sets the random class to initialize the secure random id generator.voidsetRandomKeyInViewStateSessionTokenSecureRandomProvider(String randomKeyInViewStateSessionTokenSecureRandomProvider)Sets the random provider to initialize the secure random id generator.voidsetRefreshTransientBuildOnPss(String refreshTransientBuildOnPss)Indicate if the facelet associated to the view should be reapplied when the view is refreshed.voidsetRefreshTransientBuildOnPssPreserveState(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.voidsetRenderClearJavascriptForButton(Boolean renderClearJavascriptForButton)This param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces.voidsetRenderFormSubmitScriptInline(Boolean renderFormSubmitScriptInline)If set true, render the form submit script inline, as in myfaces core 1.voidsetRenderFormViewStateAtBegin(Boolean renderFormViewStateAtBegin)This param makes h:form component to render the view state and other hidden fields at the beginning of the form.voidsetRenderHiddenFieldsForLinkParams(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.voidsetRenderViewstateId(Boolean renderViewstateId)Define if the input field that should store the state.voidsetResourceBufferSize(DataSize resourceBufferSize)Define the default buffer size that is used between Resource.voidsetResourceHandlerCacheEnabled(Boolean resourceHandlerCacheEnabled)Enable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not.voidsetResourceHandlerCacheSize(Integer resourceHandlerCacheSize)Controls the size of the cache used to check if a resource exists or not.voidsetResourceMaxTimeExpires(Duration resourceMaxTimeExpires)Set the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler.voidsetSaveFormSubmitLinkIe(Boolean saveFormSubmitLinkIe)Add a code that save the form before submit using a link.voidsetSecret(String secret)Defines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm.voidsetSecretCache(Boolean secretCache)If is set to "false", the secret key used for encryption algorithm is not cached.voidsetSerialFactory(Class<?> serialFactory)Defines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array.voidsetSerializeStateInSession(Boolean serializeStateInSession)Indicate if the state should be serialized before save it on the session.voidsetServiceProviderFinder(Class<? extends ServiceProviderFinder> serviceProviderFinder)Class name of a custom ServiceProviderFinder implementation.voidsetStrictJsf2AllowSlashLibraryName(Boolean strictJsf2AllowSlashLibraryName)Allow slash in the library name of a Resource.voidsetStrictJsf2CcElResolver(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.voidsetStrictJsf2FaceletsCompatibility(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.voidsetStrictJsf2RefreshTargetAjax(Boolean strictJsf2RefreshTargetAjax)Detect if a target (usually head) should be update for the current view in an ajax render operation.voidsetStrictJsf2ViewNotFound(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.voidsetStrictXhtmlLinks(Boolean strictXhtmlLinks)Use&entity instead a plain&character within HTML.voidsetSupportEl3ImportHandler(Boolean supportEl3ImportHandler)This parameter specifies whether or not the ImportHandler will be supported.voidsetSupportJspAndFacesEl(Boolean supportJspAndFacesEl)If set false, myfaces won't support JSP and javax.faces.el.voidsetTemporalResourcehandlerCacheEnabled(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.voidsetUseEncryption(Boolean useEncryption)Indicate if the view state is encrypted or not.voidsetUseFlashScopePurgeViewsInSession(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.voidsetUseMultipleJsFilesForJsfUncompressedJs(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.voidsetValidate(Boolean validate)Validate if the managed beans and navigations rules are correct.voidsetValidateXml(Boolean validateXml)If set to true, tag library XML files and faces config XML files using schema will be validated during application start up.voidsetViewPoolDeferredNavigation(Boolean viewPoolDeferredNavigation)Defines if the view pool uses deferred navigation to recycle views when navigation is performed.voidsetViewPoolEntryMode(String viewPoolEntryMode)Defines the type of memory reference that is used to hold the view into memory.voidsetViewPoolMaxDynamicPartialLimit(Integer viewPoolMaxDynamicPartialLimit)Defines the limit of the views that cannot be reused partially.voidsetViewPoolMaxPoolSize(Integer viewPoolMaxPoolSize)Defines the number of views to be hold per each view metadata definition.voidsetViewstateJavascript(Boolean viewstateJavascript)Set the view state using a javascript function instead a hidden input field.voidsetViewUniqueIdsCacheEnabled(Boolean viewUniqueIdsCacheEnabled)Enable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage.voidsetWrapScriptContentWithXmlCommentTag(Boolean wrapScriptContentWithXmlCommentTag)Wrap content inside script with xml comment to prevent old browsers to display it.voidsetWrapTagExceptionsAsContextAware(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.StringtoString()
 
- 
- 
- 
Method Detail- 
getLogWebContextParamspublic String getLogWebContextParams() Indicate if log all web config params should be done before initialize the webapp.
 - 
getEnumConverterAllowStringPasstroughpublic Boolean getEnumConverterAllowStringPasstrough() If value is a String instance and this param is true, pass it directly without try any change.
 - 
getErrorHandlerpublic String getErrorHandler() Deprecated: use JSF 2.0 ExceptionHandler.
 - 
getCheckedViewidCacheSizepublic Integer getCheckedViewidCacheSize() Controls the size of the cache used to 'remember' if a view exists or not.
 - 
getCheckedViewidCacheEnabledpublic 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().
 - 
getPrettyHtmlpublic Boolean getPrettyHtml() If true, rendered HTML code will be formatted, so that it is "human readable".
 - 
getAllowJavascriptpublic Boolean getAllowJavascript() This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output.
 - 
getConfigRefreshPeriodpublic Duration getConfigRefreshPeriod() Set the time in seconds that check for updates of web.
 - 
getViewstateJavascriptpublic Boolean getViewstateJavascript() Set the view state using a javascript function instead a hidden input field.
 - 
getRenderViewstateIdpublic Boolean getRenderViewstateId() Define if the input field that should store the state.
 - 
getStrictXhtmlLinkspublic Boolean getStrictXhtmlLinks() Use&entity instead a plain&character within HTML.
 - 
getRenderClearJavascriptForButtonpublic Boolean getRenderClearJavascriptForButton() This param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces.
 - 
getRenderHiddenFieldsForLinkParamspublic 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.
 - 
getSaveFormSubmitLinkIepublic Boolean getSaveFormSubmitLinkIe() Add a code that save the form before submit using a link.
 - 
getDelegateFacesServletpublic Class<?> getDelegateFacesServlet() Define an alternate class name that will be used to initialize MyFaces, instead the default javax.
 - 
getRefreshTransientBuildOnPsspublic String getRefreshTransientBuildOnPss() Indicate if the facelet associated to the view should be reapplied when the view is refreshed.
 - 
getRefreshTransientBuildOnPssPreserveStatepublic 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.
 - 
getValidateXmlpublic Boolean getValidateXml() If set to true, tag library XML files and faces config XML files using schema will be validated during application start up.
 - 
getWrapScriptContentWithXmlCommentTagpublic Boolean getWrapScriptContentWithXmlCommentTag() Wrap content inside script with xml comment to prevent old browsers to display it.
 - 
getRenderFormSubmitScriptInlinepublic Boolean getRenderFormSubmitScriptInline() If set true, render the form submit script inline, as in myfaces core 1.
 - 
getDebugPhaseListenerpublic Boolean getDebugPhaseListener() Enable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value).
 - 
getStrictJsf2RefreshTargetAjaxpublic Boolean getStrictJsf2RefreshTargetAjax() Detect if a target (usually head) should be update for the current view in an ajax render operation.
 - 
getStrictJsf2CcElResolverpublic 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.
 - 
getDefaultResponseWriterContentTypeModepublic String getDefaultResponseWriterContentTypeMode() Define the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header.
 - 
getViewUniqueIdsCacheEnabledpublic Boolean getViewUniqueIdsCacheEnabled() Enable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage.
 - 
getComponentUniqueIdsCacheSizepublic Integer getComponentUniqueIdsCacheSize() Set the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids.
 - 
getSupportJspAndFacesElpublic Boolean getSupportJspAndFacesEl() If set false, myfaces won't support JSP and javax.faces.el. JSP are deprecated in " + "JSF 2.X, javax.faces.el in in JSF 1.2. Default value is true.
 - 
getGaeJsfJarFilespublic 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).
 - 
getGaeJsfAnnotationsJarFilespublic String getGaeJsfAnnotationsJarFiles() When the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for annotations.
 - 
getStrictJsf2ViewNotFoundpublic 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.
 - 
getEarlyFlushEnabledpublic Boolean getEarlyFlushEnabled() Enable or disable an early flush which allows to send e.g. the HTML-Head to the client " + "while the rest gets rendered. It's a well known technique to reduce the time for loading a page.
 - 
getCdiManagedConvertersEnabledpublic Boolean getCdiManagedConvertersEnabled() Enable or disable CDI support for converters.
 - 
getCdiManagedValidatorsEnabledpublic Boolean getCdiManagedValidatorsEnabled() Enable or disable CDI support for validators.
 - 
getStrictJsf2FaceletsCompatibilitypublic 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.
 - 
getRenderFormViewStateAtBeginpublic Boolean getRenderFormViewStateAtBegin() This param makes h:form component to render the view state and other hidden fields at the beginning of the form.
 - 
getFlashScopeDisabledpublic Boolean getFlashScopeDisabled() Defines whether flash scope is disabled, preventing add the Flash cookie to the response.
 - 
getNumberOfViewsInSessionpublic Integer getNumberOfViewsInSession() Defines the amount (default = 20) of the latest views are stored in session.
 - 
getNumberOfSequentialViewsInSessionpublic 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.
 - 
getNumberOfFlashTokensInSessionpublic Integer getNumberOfFlashTokensInSession() Indicate the max number of flash tokens stored into session.
 - 
getFacesFlowClientWindowIdsInSessionpublic Integer getFacesFlowClientWindowIdsInSession() Indicate the max number of client window ids stored into session by faces flow.
 - 
getSupportEl3ImportHandlerpublic Boolean getSupportEl3ImportHandler() This parameter specifies whether or not the ImportHandler will be supported.
 - 
getResourceMaxTimeExpirespublic Duration getResourceMaxTimeExpires() Set the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler.
 - 
getResourceHandlerCacheSizepublic Integer getResourceHandlerCacheSize() Controls the size of the cache used to check if a resource exists or not.
 - 
getResourceHandlerCacheEnabledpublic Boolean getResourceHandlerCacheEnabled() Enable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not.
 - 
getUseEncryptionpublic Boolean getUseEncryption() Indicate if the view state is encrypted or not.
 - 
getSecretpublic String getSecret() Defines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm.
 - 
getSecretCachepublic Boolean getSecretCache() If is set to "false", the secret key used for encryption algorithm is not cached.
 - 
getAlgorithmpublic String getAlgorithm() Indicate the encryption algorithm used for encrypt the view state.
 - 
getAlgorithmIvpublic String getAlgorithmIv() Defines the initialization vector (Base64 encoded) used for the encryption algorithm.
 - 
getAlgorithmParameterspublic String getAlgorithmParameters() Defines the default mode and padding used for the encryption algorithm.
 - 
getSerialFactorypublic Class<?> getSerialFactory() Defines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array.
 - 
getCompressStateInClientpublic Boolean getCompressStateInClient() Indicate if the view state should be compressed before encrypted(optional) and encoded.
 - 
getMacAlgorithmpublic String getMacAlgorithm() Indicate the algorithm used to calculate the Message Authentication Code that is added to the view state.
 - 
getMacSecretpublic String getMacSecret() Define the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm.
 - 
getMacSecretCachepublic Boolean getMacSecretCache() If is set to "false", the secret key used for MAC algorithm is not cached.
 - 
getLazyLoadConfigObjectspublic 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.
 - 
getStrictJsf2AllowSlashLibraryNamepublic Boolean getStrictJsf2AllowSlashLibraryName() Allow slash in the library name of a Resource.
 - 
getResourceBufferSizepublic DataSize getResourceBufferSize() Define the default buffer size that is used between Resource.
 - 
getRandomKeyInCsrfSessionTokenpublic String getRandomKeyInCsrfSessionToken() Defines how to generate the csrf session token.
 - 
getRandomKeyInCsrfSessionTokenLengthpublic Integer getRandomKeyInCsrfSessionTokenLength() Set the default length of the random key used for the csrf session token.
 - 
getRandomKeyInCsrfSessionTokenSecureRandomClasspublic String getRandomKeyInCsrfSessionTokenSecureRandomClass() Sets the random class to initialize the secure random id generator.
 - 
getRandomKeyInCsrfSessionTokenSecureRandomProviderpublic String getRandomKeyInCsrfSessionTokenSecureRandomProvider() Sets the random provider to initialize the secure random id generator.
 - 
getRandomKeyInCsrfSessionTokenSecureRandomAlgoritmpublic String getRandomKeyInCsrfSessionTokenSecureRandomAlgoritm() Sets the random algorithm to initialize the secure random id generator.
 - 
getClientViewStateTimeoutpublic Duration getClientViewStateTimeout() Define the time in minutes where the view state is valid when client side state saving is used.
 - 
getSerializeStateInSessionpublic Boolean getSerializeStateInSession() Indicate if the state should be serialized before save it on the session.
 - 
getCompressStateInSessionpublic Boolean getCompressStateInSession() Indicates that the serialized state will be compressed before it is written to the session.
 - 
getCacheOldViewsInSessionModepublic Boolean getCacheOldViewsInSessionMode() This parameter has been removed from 2.
 - 
getUseFlashScopePurgeViewsInSessionpublic 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.
 - 
getRandomKeyInViewStateSessionTokenpublic String getRandomKeyInViewStateSessionToken() Adds a random key to the generated view state session token.
 - 
getRandomKeyInViewStateSessionTokenLengthpublic Integer getRandomKeyInViewStateSessionTokenLength() Set the default length of the random key added to the view state session token.
 - 
getRandomKeyInViewStateSessionTokenSecureRandomClasspublic Class<? extends SecureRandom> getRandomKeyInViewStateSessionTokenSecureRandomClass() Sets the random class to initialize the secure random id generator.
 - 
getRandomKeyInViewStateSessionTokenSecureRandomProviderpublic String getRandomKeyInViewStateSessionTokenSecureRandomProvider() Sets the random provider to initialize the secure random id generator.
 - 
getRandomKeyInViewStateSessionTokenSecureRandomAlgorithmpublic String getRandomKeyInViewStateSessionTokenSecureRandomAlgorithm() Sets the random algorithm to initialize the secure random id generator.
 - 
getValidatepublic Boolean getValidate() Validate if the managed beans and navigations rules are correct.
 - 
getAnnotationpublic MyfacesProperties.Annotation getAnnotation() 
 - 
getInitializeSkipJarFacesConfigScanpublic 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).
 - 
getElResolverComparatorpublic Class<? extends Comparator<ELResolver>> getElResolverComparator() The Class of anComparator<ELResolver/>implementation.
 - 
getElResolverPredicatepublic Class<?> getElResolverPredicate() TheClassof anPredicate<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 thePredicateinterface, since version 2.3.0 the class must implement thePredicateinterface.
 - 
getDefaultWindowModepublic String getDefaultWindowMode() no description.
 - 
getErrorTemplateResourcepublic String getErrorTemplateResource() Indicate the template name used to render the default error page used by MyFaces specific error handler implementation.
 - 
getDebugTemplateResourcepublic String getDebugTemplateResource() Indicate the template name used to render the default debug page (see ui:debug tag).
 - 
getErrorHandlingpublic Boolean getErrorHandling() Indicate if myfaces is responsible to handle errors.
 - 
getAutocompleteOffViewStatepublic Boolean getAutocompleteOffViewState() Add autocomplete="off" to the view state hidden field.
 - 
getUseMultipleJsFilesForJsfUncompressedJspublic 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.
 - 
getJsfJsModepublic String getJsfJsMode() Define the mode used for jsf.
 - 
getTemporalResourcehandlerCacheEnabledpublic 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.
 - 
getServiceProviderFinderpublic Class<? extends ServiceProviderFinder> getServiceProviderFinder() Class name of a custom ServiceProviderFinder implementation.
 - 
getSpipublic MyfacesProperties.Spi getSpi() 
 - 
getCheckIdProductionModepublic 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).
 - 
getMarkInitialStateWhenApplyBuildViewpublic Boolean getMarkInitialStateWhenApplyBuildView() no description.
 - 
getWrapTagExceptionsAsContextAwarepublic 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.
 - 
getCacheElExpressionspublic ELExpressionCacheMode getCacheElExpressions() Indicates if expressions generated by facelets should be cached or not.
 - 
getViewPoolMaxPoolSizepublic Integer getViewPoolMaxPoolSize() Defines the number of views to be hold per each view metadata definition.
 - 
getViewPoolMaxDynamicPartialLimitpublic Integer getViewPoolMaxDynamicPartialLimit() Defines the limit of the views that cannot be reused partially.
 - 
getViewPoolEntryModepublic String getViewPoolEntryMode() Defines the type of memory reference that is used to hold the view into memory.
 - 
getViewPoolDeferredNavigationpublic Boolean getViewPoolDeferredNavigation() Defines if the view pool uses deferred navigation to recycle views when navigation is performed.
 - 
getValidatorpublic MyfacesProperties.Validator getValidator() 
 - 
getExpressionFactorypublic Class<? extends ExpressionFactory> getExpressionFactory() This parameter specifies the ExpressionFactory implementation to use.
 - 
getInitializeAlwaysStandalonepublic Boolean getInitializeAlwaysStandalone() If this param is set to true, the check for faces servlet mapping is not done.
 - 
getFacesInitializerpublic Class<? extends FacesInitializer> getFacesInitializer() Class name of a custom FacesInitializer implementation.
 - 
getFacesInitPluginspublic List<Class<?>> getFacesInitPlugins() comma delimited list of plugin classes which can be hooked into myfaces.
 - 
setLogWebContextParamspublic void setLogWebContextParams(String logWebContextParams) Indicate if log all web config params should be done before initialize the webapp.
 - 
setEnumConverterAllowStringPasstroughpublic void setEnumConverterAllowStringPasstrough(Boolean enumConverterAllowStringPasstrough) If value is a String instance and this param is true, pass it directly without try any change.
 - 
setErrorHandlerpublic void setErrorHandler(String errorHandler) Deprecated: use JSF 2.0 ExceptionHandler.
 - 
setCheckedViewidCacheSizepublic void setCheckedViewidCacheSize(Integer checkedViewidCacheSize) Controls the size of the cache used to 'remember' if a view exists or not.
 - 
setCheckedViewidCacheEnabledpublic void setCheckedViewidCacheEnabled(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().
 - 
setPrettyHtmlpublic void setPrettyHtml(Boolean prettyHtml) If true, rendered HTML code will be formatted, so that it is "human readable".
 - 
setAllowJavascriptpublic void setAllowJavascript(Boolean allowJavascript) This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output.
 - 
setConfigRefreshPeriodpublic void setConfigRefreshPeriod(Duration configRefreshPeriod) Set the time in seconds that check for updates of web.
 - 
setViewstateJavascriptpublic void setViewstateJavascript(Boolean viewstateJavascript) Set the view state using a javascript function instead a hidden input field.
 - 
setRenderViewstateIdpublic void setRenderViewstateId(Boolean renderViewstateId) Define if the input field that should store the state.
 - 
setStrictXhtmlLinkspublic void setStrictXhtmlLinks(Boolean strictXhtmlLinks) Use&entity instead a plain&character within HTML.
 - 
setRenderClearJavascriptForButtonpublic void setRenderClearJavascriptForButton(Boolean renderClearJavascriptForButton) This param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces.
 - 
setRenderHiddenFieldsForLinkParamspublic void setRenderHiddenFieldsForLinkParams(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.
 - 
setSaveFormSubmitLinkIepublic void setSaveFormSubmitLinkIe(Boolean saveFormSubmitLinkIe) Add a code that save the form before submit using a link.
 - 
setDelegateFacesServletpublic void setDelegateFacesServlet(Class<?> delegateFacesServlet) Define an alternate class name that will be used to initialize MyFaces, instead the default javax.
 - 
setRefreshTransientBuildOnPsspublic void setRefreshTransientBuildOnPss(String refreshTransientBuildOnPss) Indicate if the facelet associated to the view should be reapplied when the view is refreshed.
 - 
setRefreshTransientBuildOnPssPreserveStatepublic void setRefreshTransientBuildOnPssPreserveState(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.
 - 
setValidateXmlpublic void setValidateXml(Boolean validateXml) If set to true, tag library XML files and faces config XML files using schema will be validated during application start up.
 - 
setWrapScriptContentWithXmlCommentTagpublic void setWrapScriptContentWithXmlCommentTag(Boolean wrapScriptContentWithXmlCommentTag) Wrap content inside script with xml comment to prevent old browsers to display it.
 - 
setRenderFormSubmitScriptInlinepublic void setRenderFormSubmitScriptInline(Boolean renderFormSubmitScriptInline) If set true, render the form submit script inline, as in myfaces core 1.
 - 
setDebugPhaseListenerpublic void setDebugPhaseListener(Boolean debugPhaseListener) Enable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value).
 - 
setStrictJsf2RefreshTargetAjaxpublic void setStrictJsf2RefreshTargetAjax(Boolean strictJsf2RefreshTargetAjax) Detect if a target (usually head) should be update for the current view in an ajax render operation.
 - 
setStrictJsf2CcElResolverpublic void setStrictJsf2CcElResolver(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.
 - 
setDefaultResponseWriterContentTypeModepublic void setDefaultResponseWriterContentTypeMode(String DefaultResponseWriterContentTypeMode) Define the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header.
 - 
setViewUniqueIdsCacheEnabledpublic void setViewUniqueIdsCacheEnabled(Boolean viewUniqueIdsCacheEnabled) Enable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage.
 - 
setComponentUniqueIdsCacheSizepublic void setComponentUniqueIdsCacheSize(Integer componentUniqueIdsCacheSize) Set the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids.
 - 
setSupportJspAndFacesElpublic void setSupportJspAndFacesEl(Boolean supportJspAndFacesEl) If set false, myfaces won't support JSP and javax.faces.el. JSP are deprecated in " + "JSF 2.X, javax.faces.el in in JSF 1.2. Default value is true.
 - 
setGaeJsfJarFilespublic void setGaeJsfJarFiles(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).
 - 
setGaeJsfAnnotationsJarFilespublic void setGaeJsfAnnotationsJarFiles(String gaeJsfAnnotationsJarFiles) When the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for annotations.
 - 
setStrictJsf2ViewNotFoundpublic void setStrictJsf2ViewNotFound(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.
 - 
setEarlyFlushEnabledpublic void setEarlyFlushEnabled(Boolean earlyFlushEnabled) Enable or disable an early flush which allows to send e.g. the HTML-Head to the client " + "while the rest gets rendered. It's a well known technique to reduce the time for loading a page.
 - 
setCdiManagedConvertersEnabledpublic void setCdiManagedConvertersEnabled(Boolean cdiManagedConvertersEnabled) Enable or disable CDI support for converters.
 - 
setCdiManagedValidatorsEnabledpublic void setCdiManagedValidatorsEnabled(Boolean cdiManagedValidatorsEnabled) Enable or disable CDI support for validators.
 - 
setStrictJsf2FaceletsCompatibilitypublic void setStrictJsf2FaceletsCompatibility(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.
 - 
setRenderFormViewStateAtBeginpublic void setRenderFormViewStateAtBegin(Boolean renderFormViewStateAtBegin) This param makes h:form component to render the view state and other hidden fields at the beginning of the form.
 - 
setFlashScopeDisabledpublic void setFlashScopeDisabled(Boolean flashScopeDisabled) Defines whether flash scope is disabled, preventing add the Flash cookie to the response.
 - 
setNumberOfViewsInSessionpublic void setNumberOfViewsInSession(Integer numberOfViewsInSession) Defines the amount (default = 20) of the latest views are stored in session.
 - 
setNumberOfSequentialViewsInSessionpublic void setNumberOfSequentialViewsInSession(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.
 - 
setNumberOfFlashTokensInSessionpublic void setNumberOfFlashTokensInSession(Integer numberOfFlashTokensInSession) Indicate the max number of flash tokens stored into session.
 - 
setFacesFlowClientWindowIdsInSessionpublic void setFacesFlowClientWindowIdsInSession(Integer facesFlowClientWindowIdsInSession) Indicate the max number of client window ids stored into session by faces flow.
 - 
setSupportEl3ImportHandlerpublic void setSupportEl3ImportHandler(Boolean supportEl3ImportHandler) This parameter specifies whether or not the ImportHandler will be supported.
 - 
setResourceMaxTimeExpirespublic void setResourceMaxTimeExpires(Duration resourceMaxTimeExpires) Set the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler.
 - 
setResourceHandlerCacheSizepublic void setResourceHandlerCacheSize(Integer resourceHandlerCacheSize) Controls the size of the cache used to check if a resource exists or not.
 - 
setResourceHandlerCacheEnabledpublic void setResourceHandlerCacheEnabled(Boolean resourceHandlerCacheEnabled) Enable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not.
 - 
setUseEncryptionpublic void setUseEncryption(Boolean useEncryption) Indicate if the view state is encrypted or not.
 - 
setSecretpublic void setSecret(String secret) Defines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm.
 - 
setSecretCachepublic void setSecretCache(Boolean secretCache) If is set to "false", the secret key used for encryption algorithm is not cached.
 - 
setAlgorithmpublic void setAlgorithm(String algorithm) Indicate the encryption algorithm used for encrypt the view state.
 - 
setAlgorithmIvpublic void setAlgorithmIv(String algorithmIv) Defines the initialization vector (Base64 encoded) used for the encryption algorithm.
 - 
setAlgorithmParameterspublic void setAlgorithmParameters(String algorithmParameters) Defines the default mode and padding used for the encryption algorithm.
 - 
setSerialFactorypublic void setSerialFactory(Class<?> serialFactory) Defines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array.
 - 
setCompressStateInClientpublic void setCompressStateInClient(Boolean compressStateInClient) Indicate if the view state should be compressed before encrypted(optional) and encoded.
 - 
setMacAlgorithmpublic void setMacAlgorithm(String macAlgorithm) Indicate the algorithm used to calculate the Message Authentication Code that is added to the view state.
 - 
setMacSecretpublic void setMacSecret(String macSecret) Define the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm.
 - 
setMacSecretCachepublic void setMacSecretCache(Boolean macSecretCache) If is set to "false", the secret key used for MAC algorithm is not cached.
 - 
setLazyLoadConfigObjectspublic void setLazyLoadConfigObjects(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.
 - 
setStrictJsf2AllowSlashLibraryNamepublic void setStrictJsf2AllowSlashLibraryName(Boolean strictJsf2AllowSlashLibraryName) Allow slash in the library name of a Resource.
 - 
setResourceBufferSizepublic void setResourceBufferSize(DataSize resourceBufferSize) Define the default buffer size that is used between Resource.
 - 
setRandomKeyInCsrfSessionTokenpublic void setRandomKeyInCsrfSessionToken(String randomKeyInCsrfSessionToken) Defines how to generate the csrf session token.
 - 
setRandomKeyInCsrfSessionTokenLengthpublic void setRandomKeyInCsrfSessionTokenLength(Integer randomKeyInCsrfSessionTokenLength) Set the default length of the random key used for the csrf session token.
 - 
setRandomKeyInCsrfSessionTokenSecureRandomClasspublic void setRandomKeyInCsrfSessionTokenSecureRandomClass(String randomKeyInCsrfSessionTokenSecureRandomClass) Sets the random class to initialize the secure random id generator.
 - 
setRandomKeyInCsrfSessionTokenSecureRandomProviderpublic void setRandomKeyInCsrfSessionTokenSecureRandomProvider(String randomKeyInCsrfSessionTokenSecureRandomProvider) Sets the random provider to initialize the secure random id generator.
 - 
setRandomKeyInCsrfSessionTokenSecureRandomAlgoritmpublic void setRandomKeyInCsrfSessionTokenSecureRandomAlgoritm(String randomKeyInCsrfSessionTokenSecureRandomAlgoritm) Sets the random algorithm to initialize the secure random id generator.
 - 
setClientViewStateTimeoutpublic void setClientViewStateTimeout(Duration clientViewStateTimeout) Define the time in minutes where the view state is valid when client side state saving is used.
 - 
setSerializeStateInSessionpublic void setSerializeStateInSession(Boolean serializeStateInSession) Indicate if the state should be serialized before save it on the session.
 - 
setCompressStateInSessionpublic void setCompressStateInSession(Boolean compressStateInSession) Indicates that the serialized state will be compressed before it is written to the session.
 - 
setCacheOldViewsInSessionModepublic void setCacheOldViewsInSessionMode(Boolean cacheOldViewsInSessionMode) This parameter has been removed from 2.
 - 
setUseFlashScopePurgeViewsInSessionpublic void setUseFlashScopePurgeViewsInSession(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.
 - 
setRandomKeyInViewStateSessionTokenpublic void setRandomKeyInViewStateSessionToken(String randomKeyInViewStateSessionToken) Adds a random key to the generated view state session token.
 - 
setRandomKeyInViewStateSessionTokenLengthpublic void setRandomKeyInViewStateSessionTokenLength(Integer randomKeyInViewStateSessionTokenLength) Set the default length of the random key added to the view state session token.
 - 
setRandomKeyInViewStateSessionTokenSecureRandomClasspublic void setRandomKeyInViewStateSessionTokenSecureRandomClass(Class<? extends SecureRandom> randomKeyInViewStateSessionTokenSecureRandomClass) Sets the random class to initialize the secure random id generator.
 - 
setRandomKeyInViewStateSessionTokenSecureRandomProviderpublic void setRandomKeyInViewStateSessionTokenSecureRandomProvider(String randomKeyInViewStateSessionTokenSecureRandomProvider) Sets the random provider to initialize the secure random id generator.
 - 
setRandomKeyInViewStateSessionTokenSecureRandomAlgorithmpublic void setRandomKeyInViewStateSessionTokenSecureRandomAlgorithm(String randomKeyInViewStateSessionTokenSecureRandomAlgorithm) Sets the random algorithm to initialize the secure random id generator.
 - 
setValidatepublic void setValidate(Boolean validate) Validate if the managed beans and navigations rules are correct.
 - 
setInitializeSkipJarFacesConfigScanpublic void setInitializeSkipJarFacesConfigScan(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).
 - 
setElResolverComparatorpublic void setElResolverComparator(Class<? extends Comparator<ELResolver>> elResolverComparator) The Class of anComparator<ELResolver/>implementation.
 - 
setElResolverPredicatepublic void setElResolverPredicate(Class<?> elResolverPredicate) TheClassof anPredicate<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 thePredicateinterface, since version 2.3.0 the class must implement thePredicateinterface.
 - 
setDefaultWindowModepublic void setDefaultWindowMode(String defaultWindowMode) no description.
 - 
setErrorTemplateResourcepublic void setErrorTemplateResource(String errorTemplateResource) Indicate the template name used to render the default error page used by MyFaces specific error handler implementation.
 - 
setDebugTemplateResourcepublic void setDebugTemplateResource(String debugTemplateResource) Indicate the template name used to render the default debug page (see ui:debug tag).
 - 
setErrorHandlingpublic void setErrorHandling(Boolean errorHandling) Indicate if myfaces is responsible to handle errors.
 - 
setAutocompleteOffViewStatepublic void setAutocompleteOffViewState(Boolean autocompleteOffViewState) Add autocomplete="off" to the view state hidden field.
 - 
setUseMultipleJsFilesForJsfUncompressedJspublic void setUseMultipleJsFilesForJsfUncompressedJs(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.
 - 
setJsfJsModepublic void setJsfJsMode(String jsfJsMode) Define the mode used for jsf.
 - 
setTemporalResourcehandlerCacheEnabledpublic void setTemporalResourcehandlerCacheEnabled(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.
 - 
setServiceProviderFinderpublic void setServiceProviderFinder(Class<? extends ServiceProviderFinder> serviceProviderFinder) Class name of a custom ServiceProviderFinder implementation.
 - 
setCheckIdProductionModepublic void setCheckIdProductionMode(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).
 - 
setMarkInitialStateWhenApplyBuildViewpublic void setMarkInitialStateWhenApplyBuildView(Boolean markInitialStateWhenApplyBuildView) no description.
 - 
setWrapTagExceptionsAsContextAwarepublic void setWrapTagExceptionsAsContextAware(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.
 - 
setCacheElExpressionspublic void setCacheElExpressions(ELExpressionCacheMode cacheElExpressions) Indicates if expressions generated by facelets should be cached or not.
 - 
setViewPoolMaxPoolSizepublic void setViewPoolMaxPoolSize(Integer viewPoolMaxPoolSize) Defines the number of views to be hold per each view metadata definition.
 - 
setViewPoolMaxDynamicPartialLimitpublic void setViewPoolMaxDynamicPartialLimit(Integer viewPoolMaxDynamicPartialLimit) Defines the limit of the views that cannot be reused partially.
 - 
setViewPoolEntryModepublic void setViewPoolEntryMode(String viewPoolEntryMode) Defines the type of memory reference that is used to hold the view into memory.
 - 
setViewPoolDeferredNavigationpublic void setViewPoolDeferredNavigation(Boolean viewPoolDeferredNavigation) Defines if the view pool uses deferred navigation to recycle views when navigation is performed.
 - 
setExpressionFactorypublic void setExpressionFactory(Class<? extends ExpressionFactory> expressionFactory) This parameter specifies the ExpressionFactory implementation to use.
 - 
setInitializeAlwaysStandalonepublic void setInitializeAlwaysStandalone(Boolean initializeAlwaysStandalone) If this param is set to true, the check for faces servlet mapping is not done.
 - 
setFacesInitializerpublic void setFacesInitializer(Class<? extends FacesInitializer> facesInitializer) Class name of a custom FacesInitializer implementation.
 - 
setFacesInitPluginspublic void setFacesInitPlugins(List<Class<?>> facesInitPlugins) comma delimited list of plugin classes which can be hooked into myfaces.
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-