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 ClassesModifier and TypeClassDescriptionstatic classDeprecated.Removed in MyFaces 4static classSpi class of injectionProvider property..static classValidator class of beanBeforeJsfValidation property.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanIndicate the encryption algorithm used for encrypt the view state.Defines the initialization vector (Base64 encoded) used for the encryption algorithm.Defines the default mode and padding used for the encryption algorithm.This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output.Add autocomplete="off" to the view state hidden field.Indicates if expressions generated by facelets should be cached or not.This parameter has been removed from 2.Enable or disable CDI support for converters.Enable or disable CDI support for validators.Enable or disable a cache used to 'remember' if a view exists or not and reduce the impact " + "of sucesive calls to ExternalContext.getResource().Controls the size of the cache used to 'remember' if a view exists or not.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).Define the time in minutes where the view state is valid when client side state saving is used.Set the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids.Indicate if the view state should be compressed before encrypted(optional) and encoded.Indicates that the serialized state will be compressed before it is written to the session.Set the time in seconds that check for updates of web.Enable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value).Indicate the template name used to render the default debug page (see ui:debug tag).Define the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header.Deprecated.Class<?>Define an alternate class name that will be used to initialize MyFaces, instead the default jakarta.Enable or disable an early flush which allows to send e.g.Class<? extends Comparator<ELResolver>>The Class of anComparator<ELResolver/>implementation.TheClassof anPredicate<ELResolver>implementation.If value is a String instance and this param is true, pass it directly without try any change.Deprecated: use JSF 2.0 ExceptionHandler.Indicate if myfaces is responsible to handle errors.Indicate the template name used to render the default error page used by MyFaces specific error handler implementation.Class<? extends ExpressionFactory>This parameter specifies the ExpressionFactory implementation to use.Indicate the max number of client window ids stored into session by faces flow.Class<? extends FacesInitializer>Class name of a custom FacesInitializer implementation.comma delimited list of plugin classes which can be hooked into myfaces.Defines whether flash scope is disabled, preventing add the Flash cookie to the response.When the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for annotations.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).If this param is set to true, the check for faces servlet mapping is not done.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).Deprecated.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.Indicate if log all web config params should be done before initialize the webapp.Indicate the algorithm used to calculate the Message Authentication Code that is added to the view state.Define the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm.If is set to "false", the secret key used for MAC algorithm is not cached.no description.Indicate the max number of flash tokens stored into session.Indicates the amount of views (default is not active) that should be stored in session between sequential POST or POST-REDIRECT-GET if org.Defines the amount (default = 20) of the latest views are stored in session.If true, rendered HTML code will be formatted, so that it is "human readable".Defines how to generate the csrf session token.Set the default length of the random key used for the csrf session token.Sets the random algorithm to initialize the secure random id generator.Sets the random class to initialize the secure random id generator.Sets the random provider to initialize the secure random id generator.Adds a random key to the generated view state session token.Set the default length of the random key added to the view state session token.Sets the random algorithm to initialize the secure random id generator.Class<? extends SecureRandom>Sets the random class to initialize the secure random id generator.Sets the random provider to initialize the secure random id generator.Indicate if the facelet associated to the view should be reapplied when the view is refreshed.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.This param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces.If set true, render the form submit script inline, as in myfaces core 1.This param makes h:form component to render the view state and other hidden fields at the beginning of the form.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.Define if the input field that should store the state.Define the default buffer size that is used between Resource.Enable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not.Controls the size of the cache used to check if a resource exists or not.Set the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler.Add a code that save the form before submit using a link.Defines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm.If is set to "false", the secret key used for encryption algorithm is not cached.Class<?>Defines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array.Indicate if the state should be serialized before save it on the session.Class<? extends ServiceProviderFinder>Class name of a custom ServiceProviderFinder implementation.getSpi()Allow slash in the library name of a Resource.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.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.Detect if a target (usually head) should be update for the current view in an ajax render operation.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.Use&entity instead a plain&character within HTML.This parameter specifies whether or not the ImportHandler will be supported.If set false, myfaces won't support JSP and jakarta.faces.el.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.Indicate if the view state is encrypted or not.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.Deprecated.Validate if the managed beans and navigations rules are correct.If set to true, tag library XML files and faces config XML files using schema will be validated during application start up.Defines if the view pool uses deferred navigation to recycle views when navigation is performed.Defines the type of memory reference that is used to hold the view into memory.Defines the limit of the views that cannot be reused partially.Defines the number of views to be hold per each view metadata definition.Set the view state using a javascript function instead a hidden input field.Enable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage.Wrap content inside script with xml comment to prevent old browsers to display it.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) Deprecated.voidsetDelegateFacesServlet(Class<?> delegateFacesServlet) Define an alternate class name that will be used to initialize MyFaces, instead the default jakarta.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<Predicate<ELResolver>> 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) Deprecated.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.voidDefines 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 jakarta.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) Deprecated.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.toString()
- 
Constructor Details- 
MyFacesPropertiespublic MyFacesProperties()
 
- 
- 
Method Details- 
getLogWebContextParamsIndicate if log all web config params should be done before initialize the webapp.
- 
getEnumConverterAllowStringPasstroughIf value is a String instance and this param is true, pass it directly without try any change.
- 
getErrorHandlerDeprecated: use JSF 2.0 ExceptionHandler.
- 
getCheckedViewidCacheSizeControls the size of the cache used to 'remember' if a view exists or not.
- 
getCheckedViewidCacheEnabledEnable or disable a cache used to 'remember' if a view exists or not and reduce the impact " + "of sucesive calls to ExternalContext.getResource().
- 
getPrettyHtmlIf true, rendered HTML code will be formatted, so that it is "human readable".
- 
getAllowJavascriptThis parameter tells MyFaces if javascript code should be allowed in the rendered HTML output.
- 
getConfigRefreshPeriodSet the time in seconds that check for updates of web.
- 
getViewstateJavascriptSet the view state using a javascript function instead a hidden input field.
- 
getRenderViewstateIdDefine if the input field that should store the state.
- 
getStrictXhtmlLinksUse&entity instead a plain&character within HTML.
- 
getRenderClearJavascriptForButtonThis param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces.
- 
getRenderHiddenFieldsForLinkParamsThis 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.
- 
getSaveFormSubmitLinkIeAdd a code that save the form before submit using a link.
- 
getDelegateFacesServletDefine an alternate class name that will be used to initialize MyFaces, instead the default jakarta.
- 
getRefreshTransientBuildOnPssIndicate if the facelet associated to the view should be reapplied when the view is refreshed.
- 
getRefreshTransientBuildOnPssPreserveStateEnable 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.
- 
getValidateXmlIf set to true, tag library XML files and faces config XML files using schema will be validated during application start up.
- 
getWrapScriptContentWithXmlCommentTagWrap content inside script with xml comment to prevent old browsers to display it.
- 
getRenderFormSubmitScriptInlineIf set true, render the form submit script inline, as in myfaces core 1.
- 
getDebugPhaseListenerEnable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value).
- 
getStrictJsf2RefreshTargetAjaxDetect if a target (usually head) should be update for the current view in an ajax render operation.
- 
getStrictJsf2CcElResolverChange 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.
- 
getDefaultResponseWriterContentTypeModeDefine the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header.
- 
getViewUniqueIdsCacheEnabledEnable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage.
- 
getComponentUniqueIdsCacheSizeSet the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids.
- 
getSupportJspAndFacesElIf set false, myfaces won't support JSP and jakarta.faces.el. JSP are deprecated in " + "JSF 2.X, jakarta.faces.el in in JSF 1.2. Default value is true.
- 
getGaeJsfJarFilesWhen the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for files (faces-config, facelets taglib or annotations).
- 
getGaeJsfAnnotationsJarFilesWhen the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for annotations.
- 
getStrictJsf2ViewNotFoundIf 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.
- 
getEarlyFlushEnabledEnable 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.
- 
getCdiManagedConvertersEnabledEnable or disable CDI support for converters.
- 
getCdiManagedValidatorsEnabledEnable or disable CDI support for validators.
- 
getStrictJsf2FaceletsCompatibilityThis 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.
- 
getRenderFormViewStateAtBeginThis param makes h:form component to render the view state and other hidden fields at the beginning of the form.
- 
getFlashScopeDisabledDefines whether flash scope is disabled, preventing add the Flash cookie to the response.
- 
getNumberOfViewsInSessionDefines the amount (default = 20) of the latest views are stored in session.
- 
getNumberOfSequentialViewsInSessionIndicates the amount of views (default is not active) that should be stored in session between sequential POST or POST-REDIRECT-GET if org.
- 
getNumberOfFlashTokensInSessionIndicate the max number of flash tokens stored into session.
- 
getFacesFlowClientWindowIdsInSessionIndicate the max number of client window ids stored into session by faces flow.
- 
getSupportEl3ImportHandlerThis parameter specifies whether or not the ImportHandler will be supported.
- 
getResourceMaxTimeExpiresSet the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler.
- 
getResourceHandlerCacheSizeControls the size of the cache used to check if a resource exists or not.
- 
getResourceHandlerCacheEnabledEnable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not.
- 
getUseEncryptionIndicate if the view state is encrypted or not.
- 
getSecretDefines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm.
- 
getSecretCacheIf is set to "false", the secret key used for encryption algorithm is not cached.
- 
getAlgorithmIndicate the encryption algorithm used for encrypt the view state.
- 
getAlgorithmIvDefines the initialization vector (Base64 encoded) used for the encryption algorithm.
- 
getAlgorithmParametersDefines the default mode and padding used for the encryption algorithm.
- 
getSerialFactoryDefines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array.- See Also:
- 
- org.apache.myfaces.shared.util.serial.SerialFactory
- SerialFactory
 
 
- 
getCompressStateInClientIndicate if the view state should be compressed before encrypted(optional) and encoded.
- 
getMacAlgorithmIndicate the algorithm used to calculate the Message Authentication Code that is added to the view state.
- 
getMacSecretDefine the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm.
- 
getMacSecretCacheIf is set to "false", the secret key used for MAC algorithm is not cached.
- 
getLazyLoadConfigObjectsIndicate 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.
- 
getStrictJsf2AllowSlashLibraryNameAllow slash in the library name of a Resource.
- 
getResourceBufferSizeDefine the default buffer size that is used between Resource.
- 
getRandomKeyInCsrfSessionTokenDefines how to generate the csrf session token.
- 
getRandomKeyInCsrfSessionTokenLengthSet the default length of the random key used for the csrf session token.
- 
getRandomKeyInCsrfSessionTokenSecureRandomClassSets the random class to initialize the secure random id generator.
- 
getRandomKeyInCsrfSessionTokenSecureRandomProviderSets the random provider to initialize the secure random id generator.
- 
getRandomKeyInCsrfSessionTokenSecureRandomAlgoritmSets the random algorithm to initialize the secure random id generator.
- 
getClientViewStateTimeoutDefine the time in minutes where the view state is valid when client side state saving is used.
- 
getSerializeStateInSessionIndicate if the state should be serialized before save it on the session.
- 
getCompressStateInSessionIndicates that the serialized state will be compressed before it is written to the session.
- 
getCacheOldViewsInSessionModeThis parameter has been removed from 2.
- 
getUseFlashScopePurgeViewsInSessionAllow 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.
- 
getRandomKeyInViewStateSessionTokenAdds a random key to the generated view state session token.
- 
getRandomKeyInViewStateSessionTokenLengthSet the default length of the random key added to the view state session token.
- 
getRandomKeyInViewStateSessionTokenSecureRandomClassSets the random class to initialize the secure random id generator.
- 
getRandomKeyInViewStateSessionTokenSecureRandomProviderSets the random provider to initialize the secure random id generator.
- 
getRandomKeyInViewStateSessionTokenSecureRandomAlgorithmSets the random algorithm to initialize the secure random id generator.
- 
getValidateValidate if the managed beans and navigations rules are correct.
- 
getAnnotation
- 
getInitializeSkipJarFacesConfigScanIf 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).
- 
getElResolverComparatorThe Class of anComparator<ELResolver/>implementation.
- 
getElResolverPredicateTheClassof 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'.- See Also:
 
- 
getErrorTemplateResourceIndicate the template name used to render the default error page used by MyFaces specific error handler implementation.
- 
getDebugTemplateResourceIndicate the template name used to render the default debug page (see ui:debug tag).
- 
getErrorHandlingIndicate if myfaces is responsible to handle errors.
- 
getAutocompleteOffViewStateAdd autocomplete="off" to the view state hidden field.
- 
getTemporalResourcehandlerCacheEnabledIf 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.
- 
getServiceProviderFinderClass name of a custom ServiceProviderFinder implementation.
- 
getSpi
- 
getCheckIdProductionModeDefine 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).
- 
getMarkInitialStateWhenApplyBuildViewno description.
- 
getWrapTagExceptionsAsContextAwareWrap 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.
- 
getCacheElExpressionsIndicates if expressions generated by facelets should be cached or not.
- 
getViewPoolMaxPoolSizeDefines the number of views to be hold per each view metadata definition.
- 
getViewPoolMaxDynamicPartialLimitDefines the limit of the views that cannot be reused partially.
- 
getViewPoolEntryModeDefines the type of memory reference that is used to hold the view into memory.
- 
getValidator
- 
getExpressionFactoryThis parameter specifies the ExpressionFactory implementation to use.
- 
getInitializeAlwaysStandaloneIf this param is set to true, the check for faces servlet mapping is not done.
- 
getFacesInitializerClass name of a custom FacesInitializer implementation.
- 
getFacesInitPluginscomma delimited list of plugin classes which can be hooked into myfaces.
- 
setLogWebContextParamsIndicate if log all web config params should be done before initialize the webapp.
- 
setEnumConverterAllowStringPasstroughIf value is a String instance and this param is true, pass it directly without try any change.
- 
setErrorHandlerDeprecated: use JSF 2.0 ExceptionHandler.
- 
setCheckedViewidCacheSizeControls the size of the cache used to 'remember' if a view exists or not.
- 
setCheckedViewidCacheEnabledEnable or disable a cache used to 'remember' if a view exists or not and reduce the impact " + "of sucesive calls to ExternalContext.getResource().
- 
setPrettyHtmlIf true, rendered HTML code will be formatted, so that it is "human readable".
- 
setAllowJavascriptThis parameter tells MyFaces if javascript code should be allowed in the rendered HTML output.
- 
setConfigRefreshPeriodSet the time in seconds that check for updates of web.
- 
setViewstateJavascriptSet the view state using a javascript function instead a hidden input field.
- 
setRenderViewstateIdDefine if the input field that should store the state.
- 
setStrictXhtmlLinksUse&entity instead a plain&character within HTML.
- 
setRenderClearJavascriptForButtonThis param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces.
- 
setRenderHiddenFieldsForLinkParamsThis 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.
- 
setSaveFormSubmitLinkIeAdd a code that save the form before submit using a link.
- 
setDelegateFacesServletDefine an alternate class name that will be used to initialize MyFaces, instead the default jakarta.
- 
setRefreshTransientBuildOnPssIndicate 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.
- 
setValidateXmlIf set to true, tag library XML files and faces config XML files using schema will be validated during application start up.
- 
setWrapScriptContentWithXmlCommentTagWrap content inside script with xml comment to prevent old browsers to display it.
- 
setRenderFormSubmitScriptInlineIf set true, render the form submit script inline, as in myfaces core 1.
- 
setDebugPhaseListenerEnable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value).
- 
setStrictJsf2RefreshTargetAjaxDetect if a target (usually head) should be update for the current view in an ajax render operation.
- 
setStrictJsf2CcElResolverChange 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.
- 
setDefaultResponseWriterContentTypeModeDefine the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header.
- 
setViewUniqueIdsCacheEnabledEnable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage.
- 
setComponentUniqueIdsCacheSizeSet the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids.
- 
setSupportJspAndFacesElIf set false, myfaces won't support JSP and jakarta.faces.el. JSP are deprecated in " + "JSF 2.X, jakarta.faces.el in in JSF 1.2. Default value is true.
- 
setGaeJsfJarFilesWhen the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for files (faces-config, facelets taglib or annotations).
- 
setGaeJsfAnnotationsJarFilesWhen the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for annotations.
- 
setStrictJsf2ViewNotFoundIf 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.
- 
setEarlyFlushEnabledEnable 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.
- 
setCdiManagedConvertersEnabledEnable or disable CDI support for converters.
- 
setCdiManagedValidatorsEnabledEnable or disable CDI support for validators.
- 
setStrictJsf2FaceletsCompatibilityThis 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.
- 
setRenderFormViewStateAtBeginThis param makes h:form component to render the view state and other hidden fields at the beginning of the form.
- 
setFlashScopeDisabledDefines whether flash scope is disabled, preventing add the Flash cookie to the response.
- 
setNumberOfViewsInSessionDefines the amount (default = 20) of the latest views are stored in session.
- 
setNumberOfSequentialViewsInSessionIndicates the amount of views (default is not active) that should be stored in session between sequential POST or POST-REDIRECT-GET if org.
- 
setNumberOfFlashTokensInSessionIndicate the max number of flash tokens stored into session.
- 
setFacesFlowClientWindowIdsInSessionIndicate the max number of client window ids stored into session by faces flow.
- 
setSupportEl3ImportHandlerThis parameter specifies whether or not the ImportHandler will be supported.
- 
setResourceMaxTimeExpiresSet the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler.
- 
setResourceHandlerCacheSizeControls the size of the cache used to check if a resource exists or not.
- 
setResourceHandlerCacheEnabledEnable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not.
- 
setUseEncryptionIndicate if the view state is encrypted or not.
- 
setSecretDefines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm.
- 
setSecretCacheIf is set to "false", the secret key used for encryption algorithm is not cached.
- 
setAlgorithmIndicate the encryption algorithm used for encrypt the view state.
- 
setAlgorithmIvDefines the initialization vector (Base64 encoded) used for the encryption algorithm.
- 
setAlgorithmParametersDefines the default mode and padding used for the encryption algorithm.
- 
setSerialFactoryDefines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array.- See Also:
- 
- org.apache.myfaces.shared.util.serial.SerialFactory
- SerialFactory
 
 
- 
setCompressStateInClientIndicate if the view state should be compressed before encrypted(optional) and encoded.
- 
setMacAlgorithmIndicate the algorithm used to calculate the Message Authentication Code that is added to the view state.
- 
setMacSecretDefine the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm.
- 
setMacSecretCacheIf is set to "false", the secret key used for MAC algorithm is not cached.
- 
setLazyLoadConfigObjectsIndicate 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.
- 
setStrictJsf2AllowSlashLibraryNameAllow slash in the library name of a Resource.
- 
setResourceBufferSizeDefine the default buffer size that is used between Resource.
- 
setRandomKeyInCsrfSessionTokenDefines how to generate the csrf session token.
- 
setRandomKeyInCsrfSessionTokenLengthSet 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.
- 
setClientViewStateTimeoutDefine the time in minutes where the view state is valid when client side state saving is used.
- 
setSerializeStateInSessionIndicate if the state should be serialized before save it on the session.
- 
setCompressStateInSessionIndicates that the serialized state will be compressed before it is written to the session.
- 
setCacheOldViewsInSessionModeThis parameter has been removed from 2.
- 
setUseFlashScopePurgeViewsInSessionAllow 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.
- 
setRandomKeyInViewStateSessionTokenAdds 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.
- 
setValidateValidate if the managed beans and navigations rules are correct.
- 
setInitializeSkipJarFacesConfigScanIf 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).
- 
setElResolverComparatorThe Class of anComparator<ELResolver/>implementation.
- 
setElResolverPredicateTheClassof 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'.- See Also:
 
- 
setDefaultWindowModeDeprecated.no description.
- 
setErrorTemplateResourceIndicate the template name used to render the default error page used by MyFaces specific error handler implementation.
- 
setDebugTemplateResourceIndicate the template name used to render the default debug page (see ui:debug tag).
- 
setErrorHandlingIndicate if myfaces is responsible to handle errors.
- 
setAutocompleteOffViewStateAdd autocomplete="off" to the view state hidden field.
- 
setUseMultipleJsFilesForJsfUncompressedJs@Deprecated public void setUseMultipleJsFilesForJsfUncompressedJs(Boolean useMultipleJsFilesForJsfUncompressedJs) Deprecated.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.
- 
setJsfJsModeDeprecated.Define the mode used for jsf.
- 
setTemporalResourcehandlerCacheEnabledIf 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.
- 
setServiceProviderFinderClass name of a custom ServiceProviderFinder implementation.
- 
setCheckIdProductionModeDefine 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).
- 
setMarkInitialStateWhenApplyBuildViewno description.
- 
setWrapTagExceptionsAsContextAwareWrap 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.
- 
setCacheElExpressionsIndicates if expressions generated by facelets should be cached or not.
- 
setViewPoolMaxPoolSizeDefines the number of views to be hold per each view metadata definition.
- 
setViewPoolMaxDynamicPartialLimitDefines the limit of the views that cannot be reused partially.
- 
setViewPoolEntryModeDefines the type of memory reference that is used to hold the view into memory.
- 
setExpressionFactoryThis parameter specifies the ExpressionFactory implementation to use.
- 
setInitializeAlwaysStandaloneIf this param is set to true, the check for faces servlet mapping is not done.
- 
setFacesInitializerClass name of a custom FacesInitializer implementation.
- 
setFacesInitPluginscomma delimited list of plugin classes which can be hooked into myfaces.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
toString
- 
getDefaultWindowMode@Deprecated @DeprecatedConfigurationProperty(replacement="joinfaces.faces.client-window-mode") public String getDefaultWindowMode()Deprecated.no description.
- 
getUseMultipleJsFilesForJsfUncompressedJs@Deprecated @DeprecatedConfigurationProperty(reason="Removed in MyFaces 4.0.0") public Boolean getUseMultipleJsFilesForJsfUncompressedJs()Deprecated.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.
- 
getJsfJsMode@Deprecated @DeprecatedConfigurationProperty(reason="Removed in MyFaces 4.0.0") public String getJsfJsMode()Deprecated.Define the mode used for jsf.
 
-