Class MyfacesProperties

    • Method Summary

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

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MyfacesProperties

        public MyfacesProperties()
    • Method Detail

      • getLogWebContextParams

        public java.lang.String getLogWebContextParams()
        Indicate if log all web config params should be done before initialize the webapp.
      • getEnumConverterAllowStringPasstrough

        public java.lang.Boolean getEnumConverterAllowStringPasstrough()
        If value is a String instance and this param is true, pass it directly without try any change.
      • getErrorHandler

        public java.lang.String getErrorHandler()
        Deprecated: use JSF 2.0 ExceptionHandler.
      • getCheckedViewidCacheSize

        public java.lang.Integer getCheckedViewidCacheSize()
        Controls the size of the cache used to 'remember' if a view exists or not.
      • getCheckedViewidCacheEnabled

        public java.lang.Boolean getCheckedViewidCacheEnabled()
        Enable or disable a cache used to 'remember' if a view exists or not and reduce the impact " + "of sucesive calls to ExternalContext.getResource().
      • getPrettyHtml

        public java.lang.Boolean getPrettyHtml()
        If true, rendered HTML code will be formatted, so that it is "human readable".
      • getAllowJavascript

        public java.lang.Boolean getAllowJavascript()
        This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output.
      • getConfigRefreshPeriod

        public java.lang.Integer getConfigRefreshPeriod()
        Set the time in seconds that check for updates of web.
      • getViewstateJavascript

        public java.lang.Boolean getViewstateJavascript()
        Set the view state using a javascript function instead a hidden input field.
      • getRenderViewstateId

        public java.lang.Boolean getRenderViewstateId()
        Define if the input field that should store the state.
      • getStrictXhtmlLinks

        public java.lang.Boolean getStrictXhtmlLinks()
        Use &amp; entity instead a plain & character within HTML.
      • getRenderClearJavascriptForButton

        public java.lang.Boolean getRenderClearJavascriptForButton()
        This param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces.
      • getRenderHiddenFieldsForLinkParams

        public java.lang.Boolean getRenderHiddenFieldsForLinkParams()
        This param renders hidden fields at the end of h:form for link params when h:commandLink + f:param is used, instead use javascript to create them.
      • getSaveFormSubmitLinkIe

        public java.lang.Boolean getSaveFormSubmitLinkIe()
        Add a code that save the form before submit using a link.
      • getDelegateFacesServlet

        public java.lang.Class<?> getDelegateFacesServlet()
        Define an alternate class name that will be used to initialize MyFaces, instead the default javax.
      • getRefreshTransientBuildOnPss

        public java.lang.String getRefreshTransientBuildOnPss()
        Indicate if the facelet associated to the view should be reapplied when the view is refreshed.
      • getRefreshTransientBuildOnPssPreserveState

        public java.lang.Boolean getRefreshTransientBuildOnPssPreserveState()
        Enable or disable a special mode that enable full state for parent components containing c:if, c:forEach, c:choose and ui:include with src=ELExpression.
      • getValidateXml

        public java.lang.Boolean getValidateXml()
        If set to true, tag library XML files and faces config XML files using schema will be validated during application start up.
      • getWrapScriptContentWithXmlCommentTag

        public java.lang.Boolean getWrapScriptContentWithXmlCommentTag()
        Wrap content inside script with xml comment to prevent old browsers to display it.
      • getRenderFormSubmitScriptInline

        public java.lang.Boolean getRenderFormSubmitScriptInline()
        If set true, render the form submit script inline, as in myfaces core 1.
      • getDebugPhaseListener

        public java.lang.Boolean getDebugPhaseListener()
        Enable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value).
      • getStrictJsf2RefreshTargetAjax

        public java.lang.Boolean getStrictJsf2RefreshTargetAjax()
        Detect if a target (usually head) should be update for the current view in an ajax render operation.
      • getStrictJsf2CcElResolver

        public java.lang.String getStrictJsf2CcElResolver()
        Change default getType() behavior for composite component EL resolver, from return null (see JSF 2_0 spec section 5_6_2_2) to use the metadata information added by composite:attribute, ensuring components working with chained EL expressions to find the right type when a getType() is called over the source EL expression.
      • getDefaultResponseWriterContentTypeMode

        public java.lang.String getDefaultResponseWriterContentTypeMode()
        Define the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header.
      • getViewUniqueIdsCacheEnabled

        public java.lang.Boolean getViewUniqueIdsCacheEnabled()
        Enable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage.
      • getComponentUniqueIdsCacheSize

        public java.lang.Integer getComponentUniqueIdsCacheSize()
        Set the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids.
      • getSupportJspAndFacesEl

        public java.lang.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.
      • getGaeJsfJarFiles

        public java.lang.String getGaeJsfJarFiles()
        When the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for files (faces-config, facelets taglib or annotations).
      • getGaeJsfAnnotationsJarFiles

        public java.lang.String getGaeJsfAnnotationsJarFiles()
        When the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for annotations.
      • getStrictJsf2ViewNotFound

        public java.lang.Boolean getStrictJsf2ViewNotFound()
        If this param is set to true, a check will be done in Restore View Phase to check if the viewId exists or not and if it does not exists, a 404 response will be thrown.
      • getEarlyFlushEnabled

        public java.lang.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.
      • getCdiManagedConvertersEnabled

        public java.lang.Boolean getCdiManagedConvertersEnabled()
        Enable or disable CDI support for converters.
      • getCdiManagedValidatorsEnabled

        public java.lang.Boolean getCdiManagedValidatorsEnabled()
        Enable or disable CDI support for validators.
      • getStrictJsf2FaceletsCompatibility

        public java.lang.Boolean getStrictJsf2FaceletsCompatibility()
        This param makes components like c:set, ui:param and templating components like ui:decorate, ui:composition and ui:include to behave like the ones provided originally in facelets 1_1_x.
      • getRenderFormViewStateAtBegin

        public java.lang.Boolean getRenderFormViewStateAtBegin()
        This param makes h:form component to render the view state and other hidden fields at the beginning of the form.
      • getFlashScopeDisabled

        public java.lang.Boolean getFlashScopeDisabled()
        Defines whether flash scope is disabled, preventing add the Flash cookie to the response.
      • getNumberOfViewsInSession

        public java.lang.Integer getNumberOfViewsInSession()
        Defines the amount (default = 20) of the latest views are stored in session.
      • getNumberOfSequentialViewsInSession

        public java.lang.Integer getNumberOfSequentialViewsInSession()
        Indicates the amount of views (default is not active) that should be stored in session between sequential POST or POST-REDIRECT-GET if org.
      • getNumberOfFlashTokensInSession

        public java.lang.Integer getNumberOfFlashTokensInSession()
        Indicate the max number of flash tokens stored into session.
      • getFacesFlowClientWindowIdsInSession

        public java.lang.Integer getFacesFlowClientWindowIdsInSession()
        Indicate the max number of client window ids stored into session by faces flow.
      • getSupportEl3ImportHandler

        public java.lang.Boolean getSupportEl3ImportHandler()
        This parameter specifies whether or not the ImportHandler will be supported.
      • getResourceMaxTimeExpires

        public java.lang.Integer getResourceMaxTimeExpires()
        Set the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler.
      • getResourceHandlerCacheSize

        public java.lang.Integer getResourceHandlerCacheSize()
        Controls the size of the cache used to check if a resource exists or not.
      • getResourceHandlerCacheEnabled

        public java.lang.Boolean getResourceHandlerCacheEnabled()
        Enable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not.
      • getUseEncryption

        public java.lang.Boolean getUseEncryption()
        Indicate if the view state is encrypted or not.
      • getSecret

        public java.lang.String getSecret()
        Defines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm.
      • getSecretCache

        public java.lang.Boolean getSecretCache()
        If is set to "false", the secret key used for encryption algorithm is not cached.
      • getAlgorithm

        public java.lang.String getAlgorithm()
        Indicate the encryption algorithm used for encrypt the view state.
      • getAlgorithmIv

        public java.lang.String getAlgorithmIv()
        Defines the initialization vector (Base64 encoded) used for the encryption algorithm.
      • getAlgorithmParameters

        public java.lang.String getAlgorithmParameters()
        Defines the default mode and padding used for the encryption algorithm.
      • getSerialFactory

        public java.lang.Class<? extends org.apache.myfaces.shared.util.serial.SerialFactory> getSerialFactory()
        Defines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array.
      • getCompressStateInClient

        public java.lang.Boolean getCompressStateInClient()
        Indicate if the view state should be compressed before encrypted(optional) and encoded.
      • getMacAlgorithm

        public java.lang.String getMacAlgorithm()
        Indicate the algorithm used to calculate the Message Authentication Code that is added to the view state.
      • getMacSecret

        public java.lang.String getMacSecret()
        Define the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm.
      • getMacSecretCache

        public java.lang.Boolean getMacSecretCache()
        If is set to "false", the secret key used for MAC algorithm is not cached.
      • getLazyLoadConfigObjects

        public java.lang.Boolean getLazyLoadConfigObjects()
        Indicate if the classes associated to components, converters, validators or behaviors should be loaded as soon as they are added to the current application instance or instead loaded in a lazy way.
      • getStrictJsf2AllowSlashLibraryName

        public java.lang.Boolean getStrictJsf2AllowSlashLibraryName()
        Allow slash in the library name of a Resource.
      • getResourceBufferSize

        public java.lang.Integer getResourceBufferSize()
        Define the default buffer size that is used between Resource.
      • getRandomKeyInCsrfSessionToken

        public java.lang.String getRandomKeyInCsrfSessionToken()
        Defines how to generate the csrf session token.
      • getRandomKeyInCsrfSessionTokenLength

        public java.lang.Integer getRandomKeyInCsrfSessionTokenLength()
        Set the default length of the random key used for the csrf session token.
      • getRandomKeyInCsrfSessionTokenSecureRandomClass

        public java.lang.String getRandomKeyInCsrfSessionTokenSecureRandomClass()
        Sets the random class to initialize the secure random id generator.
      • getRandomKeyInCsrfSessionTokenSecureRandomProvider

        public java.lang.String getRandomKeyInCsrfSessionTokenSecureRandomProvider()
        Sets the random provider to initialize the secure random id generator.
      • getRandomKeyInCsrfSessionTokenSecureRandomAlgoritm

        public java.lang.String getRandomKeyInCsrfSessionTokenSecureRandomAlgoritm()
        Sets the random algorithm to initialize the secure random id generator.
      • getClientViewStateTimeout

        public java.lang.Integer getClientViewStateTimeout()
        Define the time in minutes where the view state is valid when client side state saving is used.
      • getSerializeStateInSession

        public java.lang.Boolean getSerializeStateInSession()
        Indicate if the state should be serialized before save it on the session.
      • getCompressStateInSession

        public java.lang.Boolean getCompressStateInSession()
        Indicates that the serialized state will be compressed before it is written to the session.
      • getCacheOldViewsInSessionMode

        public java.lang.Boolean getCacheOldViewsInSessionMode()
        This parameter has been removed from 2.
      • getUseFlashScopePurgeViewsInSession

        public java.lang.Boolean getUseFlashScopePurgeViewsInSession()
        Allow use flash scope to keep track of the views used in session and the previous ones, so server side state saving can delete old views even if POST-REDIRECT-GET pattern is used.
      • getRandomKeyInViewStateSessionToken

        public java.lang.String getRandomKeyInViewStateSessionToken()
        Adds a random key to the generated view state session token.
      • getRandomKeyInViewStateSessionTokenLength

        public java.lang.Integer getRandomKeyInViewStateSessionTokenLength()
        Set the default length of the random key added to the view state session token.
      • getRandomKeyInViewStateSessionTokenSecureRandomClass

        public java.lang.String getRandomKeyInViewStateSessionTokenSecureRandomClass()
        Sets the random class to initialize the secure random id generator.
      • getRandomKeyInViewStateSessionTokenSecureRandomProvider

        public java.lang.String getRandomKeyInViewStateSessionTokenSecureRandomProvider()
        Sets the random provider to initialize the secure random id generator.
      • getRandomKeyInViewStateSessionTokenSecureRandomAlgorithm

        public java.lang.String getRandomKeyInViewStateSessionTokenSecureRandomAlgorithm()
        Sets the random algorithm to initialize the secure random id generator.
      • getValidate

        public java.lang.Boolean getValidate()
        Validate if the managed beans and navigations rules are correct.
      • getInitializeSkipJarFacesConfigScan

        public java.lang.Boolean getInitializeSkipJarFacesConfigScan()
        If the flag is true, the algoritm skip jar scanning for faces-config files to check if the current application requires FacesServlet to be added dynamically (servlet spec 3).
      • getElResolverComparator

        public java.lang.Class<? extends java.util.Comparator<ELResolver>> getElResolverComparator()
        The Class of an Comparator<ELResolver/> implementation.
      • getElResolverPredicate

        public java.lang.Class<?> getElResolverPredicate()
        The Class of an Predicate<ELResolver> implementation. If used and returns true for a ELResolver instance, such resolver will not be installed in ELResolvers chain. Use with caution - can break functionality defined in JSF specification 'ELResolver Instances Provided by Faces'. For MyFaces versions up to 2.2.x the class provided here must implement the Predicate interface, since version 2.3.0 the class must implement the Predicate interface.
        See Also:
        ResolverBuilderBase.EL_RESOLVER_PREDICATE, Predicate, Predicate
      • getDefaultWindowMode

        public java.lang.String getDefaultWindowMode()
        no description.
      • getErrorTemplateResource

        public java.lang.String getErrorTemplateResource()
        Indicate the template name used to render the default error page used by MyFaces specific error handler implementation.
      • getDebugTemplateResource

        public java.lang.String getDebugTemplateResource()
        Indicate the template name used to render the default debug page (see ui:debug tag).
      • getErrorHandling

        public java.lang.Boolean getErrorHandling()
        Indicate if myfaces is responsible to handle errors.
      • getAutocompleteOffViewState

        public java.lang.Boolean getAutocompleteOffViewState()
        Add autocomplete="off" to the view state hidden field.
      • getUseMultipleJsFilesForJsfUncompressedJs

        public java.lang.Boolean getUseMultipleJsFilesForJsfUncompressedJs()
        If this param is true and the project stage is development mode, the source javascript files will be loaded separately instead have all in just one file, to preserve line numbers and make javascript debugging of the default jsf javascript file more simple.
      • getJsfJsMode

        public java.lang.String getJsfJsMode()
        Define the mode used for jsf.
      • getTemporalResourcehandlerCacheEnabled

        public java.lang.Boolean getTemporalResourcehandlerCacheEnabled()
        If this param is set to true (default false), a temporal directory is created and all files handled by this ResourceLoader are cached there, avoiding the problem described on MYFACES-3586.
      • getServiceProviderFinder

        public java.lang.Class<? extends org.apache.myfaces.spi.ServiceProviderFinder> getServiceProviderFinder()
        Class name of a custom ServiceProviderFinder implementation.
      • getCheckIdProductionMode

        public java.lang.String getCheckIdProductionMode()
        Define how duplicate ids are checked when ProjectStage is Production, by default (auto) it only check ids of components that does not encapsulate markup (like facelets UILeaf).
      • getMarkInitialStateWhenApplyBuildView

        public java.lang.Boolean getMarkInitialStateWhenApplyBuildView()
        no description.
      • getWrapTagExceptionsAsContextAware

        public java.lang.Boolean getWrapTagExceptionsAsContextAware()
        Wrap exception caused by calls to EL expressions, so information like the location, expression string and tag name can be retrieved by the ExceptionHandler implementation and used to output meaningful information about itself.
      • getCacheElExpressions

        public org.apache.myfaces.view.facelets.ELExpressionCacheMode getCacheElExpressions()
        Indicates if expressions generated by facelets should be cached or not.
      • getViewPoolMaxPoolSize

        public java.lang.Integer getViewPoolMaxPoolSize()
        Defines the number of views to be hold per each view metadata definition.
      • getViewPoolMaxDynamicPartialLimit

        public java.lang.Integer getViewPoolMaxDynamicPartialLimit()
        Defines the limit of the views that cannot be reused partially.
      • getViewPoolEntryMode

        public java.lang.String getViewPoolEntryMode()
        Defines the type of memory reference that is used to hold the view into memory.
      • getViewPoolDeferredNavigation

        public java.lang.Boolean getViewPoolDeferredNavigation()
        Defines if the view pool uses deferred navigation to recycle views when navigation is performed.
      • getExpressionFactory

        public java.lang.Class<? extends ExpressionFactory> getExpressionFactory()
        This parameter specifies the ExpressionFactory implementation to use.
      • getInitializeAlwaysStandalone

        public java.lang.Boolean getInitializeAlwaysStandalone()
        If this param is set to true, the check for faces servlet mapping is not done.
      • getFacesInitializer

        public java.lang.Class<? extends org.apache.myfaces.webapp.FacesInitializer> getFacesInitializer()
        Class name of a custom FacesInitializer implementation.
      • getFacesInitPlugins

        public java.util.List<java.lang.Class<?>> getFacesInitPlugins()
        comma delimited list of plugin classes which can be hooked into myfaces.
      • setLogWebContextParams

        public void setLogWebContextParams​(java.lang.String logWebContextParams)
        Indicate if log all web config params should be done before initialize the webapp.
      • setEnumConverterAllowStringPasstrough

        public void setEnumConverterAllowStringPasstrough​(java.lang.Boolean enumConverterAllowStringPasstrough)
        If value is a String instance and this param is true, pass it directly without try any change.
      • setErrorHandler

        public void setErrorHandler​(java.lang.String errorHandler)
        Deprecated: use JSF 2.0 ExceptionHandler.
      • setCheckedViewidCacheSize

        public void setCheckedViewidCacheSize​(java.lang.Integer checkedViewidCacheSize)
        Controls the size of the cache used to 'remember' if a view exists or not.
      • setCheckedViewidCacheEnabled

        public void setCheckedViewidCacheEnabled​(java.lang.Boolean checkedViewidCacheEnabled)
        Enable or disable a cache used to 'remember' if a view exists or not and reduce the impact " + "of sucesive calls to ExternalContext.getResource().
      • setPrettyHtml

        public void setPrettyHtml​(java.lang.Boolean prettyHtml)
        If true, rendered HTML code will be formatted, so that it is "human readable".
      • setAllowJavascript

        public void setAllowJavascript​(java.lang.Boolean allowJavascript)
        This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output.
      • setConfigRefreshPeriod

        public void setConfigRefreshPeriod​(java.lang.Integer configRefreshPeriod)
        Set the time in seconds that check for updates of web.
      • setViewstateJavascript

        public void setViewstateJavascript​(java.lang.Boolean viewstateJavascript)
        Set the view state using a javascript function instead a hidden input field.
      • setRenderViewstateId

        public void setRenderViewstateId​(java.lang.Boolean renderViewstateId)
        Define if the input field that should store the state.
      • setStrictXhtmlLinks

        public void setStrictXhtmlLinks​(java.lang.Boolean strictXhtmlLinks)
        Use &amp; entity instead a plain & character within HTML.
      • setRenderClearJavascriptForButton

        public void setRenderClearJavascriptForButton​(java.lang.Boolean renderClearJavascriptForButton)
        This param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces.
      • setRenderHiddenFieldsForLinkParams

        public void setRenderHiddenFieldsForLinkParams​(java.lang.Boolean renderHiddenFieldsForLinkParams)
        This param renders hidden fields at the end of h:form for link params when h:commandLink + f:param is used, instead use javascript to create them.
      • setSaveFormSubmitLinkIe

        public void setSaveFormSubmitLinkIe​(java.lang.Boolean saveFormSubmitLinkIe)
        Add a code that save the form before submit using a link.
      • setDelegateFacesServlet

        public void setDelegateFacesServlet​(java.lang.Class<?> delegateFacesServlet)
        Define an alternate class name that will be used to initialize MyFaces, instead the default javax.
      • setRefreshTransientBuildOnPss

        public void setRefreshTransientBuildOnPss​(java.lang.String refreshTransientBuildOnPss)
        Indicate if the facelet associated to the view should be reapplied when the view is refreshed.
      • setRefreshTransientBuildOnPssPreserveState

        public void setRefreshTransientBuildOnPssPreserveState​(java.lang.Boolean refreshTransientBuildOnPssPreserveState)
        Enable or disable a special mode that enable full state for parent components containing c:if, c:forEach, c:choose and ui:include with src=ELExpression.
      • setValidateXml

        public void setValidateXml​(java.lang.Boolean validateXml)
        If set to true, tag library XML files and faces config XML files using schema will be validated during application start up.
      • setWrapScriptContentWithXmlCommentTag

        public void setWrapScriptContentWithXmlCommentTag​(java.lang.Boolean wrapScriptContentWithXmlCommentTag)
        Wrap content inside script with xml comment to prevent old browsers to display it.
      • setRenderFormSubmitScriptInline

        public void setRenderFormSubmitScriptInline​(java.lang.Boolean renderFormSubmitScriptInline)
        If set true, render the form submit script inline, as in myfaces core 1.
      • setDebugPhaseListener

        public void setDebugPhaseListener​(java.lang.Boolean debugPhaseListener)
        Enable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value).
      • setStrictJsf2RefreshTargetAjax

        public void setStrictJsf2RefreshTargetAjax​(java.lang.Boolean strictJsf2RefreshTargetAjax)
        Detect if a target (usually head) should be update for the current view in an ajax render operation.
      • setStrictJsf2CcElResolver

        public void setStrictJsf2CcElResolver​(java.lang.String strictJsf2CcElResolver)
        Change default getType() behavior for composite component EL resolver, from return null (see JSF 2_0 spec section 5_6_2_2) to use the metadata information added by composite:attribute, ensuring components working with chained EL expressions to find the right type when a getType() is called over the source EL expression.
      • setDefaultResponseWriterContentTypeMode

        public void setDefaultResponseWriterContentTypeMode​(java.lang.String DefaultResponseWriterContentTypeMode)
        Define the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header.
      • setViewUniqueIdsCacheEnabled

        public void setViewUniqueIdsCacheEnabled​(java.lang.Boolean viewUniqueIdsCacheEnabled)
        Enable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage.
      • setComponentUniqueIdsCacheSize

        public void setComponentUniqueIdsCacheSize​(java.lang.Integer componentUniqueIdsCacheSize)
        Set the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids.
      • setSupportJspAndFacesEl

        public void setSupportJspAndFacesEl​(java.lang.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.
      • setGaeJsfJarFiles

        public void setGaeJsfJarFiles​(java.lang.String gaeJsfJarFiles)
        When the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for files (faces-config, facelets taglib or annotations).
      • setGaeJsfAnnotationsJarFiles

        public void setGaeJsfAnnotationsJarFiles​(java.lang.String gaeJsfAnnotationsJarFiles)
        When the application runs inside Google Application Engine container (GAE), indicate which jar files should be scanned for annotations.
      • setStrictJsf2ViewNotFound

        public void setStrictJsf2ViewNotFound​(java.lang.Boolean strictJsf2ViewNotFound)
        If this param is set to true, a check will be done in Restore View Phase to check if the viewId exists or not and if it does not exists, a 404 response will be thrown.
      • setEarlyFlushEnabled

        public void setEarlyFlushEnabled​(java.lang.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.
      • setCdiManagedConvertersEnabled

        public void setCdiManagedConvertersEnabled​(java.lang.Boolean cdiManagedConvertersEnabled)
        Enable or disable CDI support for converters.
      • setCdiManagedValidatorsEnabled

        public void setCdiManagedValidatorsEnabled​(java.lang.Boolean cdiManagedValidatorsEnabled)
        Enable or disable CDI support for validators.
      • setStrictJsf2FaceletsCompatibility

        public void setStrictJsf2FaceletsCompatibility​(java.lang.Boolean strictJsf2FaceletsCompatibility)
        This param makes components like c:set, ui:param and templating components like ui:decorate, ui:composition and ui:include to behave like the ones provided originally in facelets 1_1_x.
      • setRenderFormViewStateAtBegin

        public void setRenderFormViewStateAtBegin​(java.lang.Boolean renderFormViewStateAtBegin)
        This param makes h:form component to render the view state and other hidden fields at the beginning of the form.
      • setFlashScopeDisabled

        public void setFlashScopeDisabled​(java.lang.Boolean flashScopeDisabled)
        Defines whether flash scope is disabled, preventing add the Flash cookie to the response.
      • setNumberOfViewsInSession

        public void setNumberOfViewsInSession​(java.lang.Integer numberOfViewsInSession)
        Defines the amount (default = 20) of the latest views are stored in session.
      • setNumberOfSequentialViewsInSession

        public void setNumberOfSequentialViewsInSession​(java.lang.Integer numberOfSequentialViewsInSession)
        Indicates the amount of views (default is not active) that should be stored in session between sequential POST or POST-REDIRECT-GET if org.
      • setNumberOfFlashTokensInSession

        public void setNumberOfFlashTokensInSession​(java.lang.Integer numberOfFlashTokensInSession)
        Indicate the max number of flash tokens stored into session.
      • setFacesFlowClientWindowIdsInSession

        public void setFacesFlowClientWindowIdsInSession​(java.lang.Integer facesFlowClientWindowIdsInSession)
        Indicate the max number of client window ids stored into session by faces flow.
      • setSupportEl3ImportHandler

        public void setSupportEl3ImportHandler​(java.lang.Boolean supportEl3ImportHandler)
        This parameter specifies whether or not the ImportHandler will be supported.
      • setResourceMaxTimeExpires

        public void setResourceMaxTimeExpires​(java.lang.Integer resourceMaxTimeExpires)
        Set the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler.
      • setResourceHandlerCacheSize

        public void setResourceHandlerCacheSize​(java.lang.Integer resourceHandlerCacheSize)
        Controls the size of the cache used to check if a resource exists or not.
      • setResourceHandlerCacheEnabled

        public void setResourceHandlerCacheEnabled​(java.lang.Boolean resourceHandlerCacheEnabled)
        Enable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not.
      • setUseEncryption

        public void setUseEncryption​(java.lang.Boolean useEncryption)
        Indicate if the view state is encrypted or not.
      • setSecret

        public void setSecret​(java.lang.String secret)
        Defines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm.
      • setSecretCache

        public void setSecretCache​(java.lang.Boolean secretCache)
        If is set to "false", the secret key used for encryption algorithm is not cached.
      • setAlgorithm

        public void setAlgorithm​(java.lang.String algorithm)
        Indicate the encryption algorithm used for encrypt the view state.
      • setAlgorithmIv

        public void setAlgorithmIv​(java.lang.String algorithmIv)
        Defines the initialization vector (Base64 encoded) used for the encryption algorithm.
      • setAlgorithmParameters

        public void setAlgorithmParameters​(java.lang.String algorithmParameters)
        Defines the default mode and padding used for the encryption algorithm.
      • setSerialFactory

        public void setSerialFactory​(java.lang.Class<? extends org.apache.myfaces.shared.util.serial.SerialFactory> serialFactory)
        Defines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array.
      • setCompressStateInClient

        public void setCompressStateInClient​(java.lang.Boolean compressStateInClient)
        Indicate if the view state should be compressed before encrypted(optional) and encoded.
      • setMacAlgorithm

        public void setMacAlgorithm​(java.lang.String macAlgorithm)
        Indicate the algorithm used to calculate the Message Authentication Code that is added to the view state.
      • setMacSecret

        public void setMacSecret​(java.lang.String macSecret)
        Define the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm.
      • setMacSecretCache

        public void setMacSecretCache​(java.lang.Boolean macSecretCache)
        If is set to "false", the secret key used for MAC algorithm is not cached.
      • setLazyLoadConfigObjects

        public void setLazyLoadConfigObjects​(java.lang.Boolean lazyLoadConfigObjects)
        Indicate if the classes associated to components, converters, validators or behaviors should be loaded as soon as they are added to the current application instance or instead loaded in a lazy way.
      • setStrictJsf2AllowSlashLibraryName

        public void setStrictJsf2AllowSlashLibraryName​(java.lang.Boolean strictJsf2AllowSlashLibraryName)
        Allow slash in the library name of a Resource.
      • setResourceBufferSize

        public void setResourceBufferSize​(java.lang.Integer resourceBufferSize)
        Define the default buffer size that is used between Resource.
      • setRandomKeyInCsrfSessionToken

        public void setRandomKeyInCsrfSessionToken​(java.lang.String randomKeyInCsrfSessionToken)
        Defines how to generate the csrf session token.
      • setRandomKeyInCsrfSessionTokenLength

        public void setRandomKeyInCsrfSessionTokenLength​(java.lang.Integer randomKeyInCsrfSessionTokenLength)
        Set the default length of the random key used for the csrf session token.
      • setRandomKeyInCsrfSessionTokenSecureRandomClass

        public void setRandomKeyInCsrfSessionTokenSecureRandomClass​(java.lang.String randomKeyInCsrfSessionTokenSecureRandomClass)
        Sets the random class to initialize the secure random id generator.
      • setRandomKeyInCsrfSessionTokenSecureRandomProvider

        public void setRandomKeyInCsrfSessionTokenSecureRandomProvider​(java.lang.String randomKeyInCsrfSessionTokenSecureRandomProvider)
        Sets the random provider to initialize the secure random id generator.
      • setRandomKeyInCsrfSessionTokenSecureRandomAlgoritm

        public void setRandomKeyInCsrfSessionTokenSecureRandomAlgoritm​(java.lang.String randomKeyInCsrfSessionTokenSecureRandomAlgoritm)
        Sets the random algorithm to initialize the secure random id generator.
      • setClientViewStateTimeout

        public void setClientViewStateTimeout​(java.lang.Integer clientViewStateTimeout)
        Define the time in minutes where the view state is valid when client side state saving is used.
      • setSerializeStateInSession

        public void setSerializeStateInSession​(java.lang.Boolean serializeStateInSession)
        Indicate if the state should be serialized before save it on the session.
      • setCompressStateInSession

        public void setCompressStateInSession​(java.lang.Boolean compressStateInSession)
        Indicates that the serialized state will be compressed before it is written to the session.
      • setCacheOldViewsInSessionMode

        public void setCacheOldViewsInSessionMode​(java.lang.Boolean cacheOldViewsInSessionMode)
        This parameter has been removed from 2.
      • setUseFlashScopePurgeViewsInSession

        public void setUseFlashScopePurgeViewsInSession​(java.lang.Boolean useFlashScopePurgeViewsInSession)
        Allow use flash scope to keep track of the views used in session and the previous ones, so server side state saving can delete old views even if POST-REDIRECT-GET pattern is used.
      • setRandomKeyInViewStateSessionToken

        public void setRandomKeyInViewStateSessionToken​(java.lang.String randomKeyInViewStateSessionToken)
        Adds a random key to the generated view state session token.
      • setRandomKeyInViewStateSessionTokenLength

        public void setRandomKeyInViewStateSessionTokenLength​(java.lang.Integer randomKeyInViewStateSessionTokenLength)
        Set the default length of the random key added to the view state session token.
      • setRandomKeyInViewStateSessionTokenSecureRandomClass

        public void setRandomKeyInViewStateSessionTokenSecureRandomClass​(java.lang.String randomKeyInViewStateSessionTokenSecureRandomClass)
        Sets the random class to initialize the secure random id generator.
      • setRandomKeyInViewStateSessionTokenSecureRandomProvider

        public void setRandomKeyInViewStateSessionTokenSecureRandomProvider​(java.lang.String randomKeyInViewStateSessionTokenSecureRandomProvider)
        Sets the random provider to initialize the secure random id generator.
      • setRandomKeyInViewStateSessionTokenSecureRandomAlgorithm

        public void setRandomKeyInViewStateSessionTokenSecureRandomAlgorithm​(java.lang.String randomKeyInViewStateSessionTokenSecureRandomAlgorithm)
        Sets the random algorithm to initialize the secure random id generator.
      • setValidate

        public void setValidate​(java.lang.Boolean validate)
        Validate if the managed beans and navigations rules are correct.
      • setInitializeSkipJarFacesConfigScan

        public void setInitializeSkipJarFacesConfigScan​(java.lang.Boolean initializeSkipJarFacesConfigScan)
        If the flag is true, the algoritm skip jar scanning for faces-config files to check if the current application requires FacesServlet to be added dynamically (servlet spec 3).
      • setElResolverComparator

        public void setElResolverComparator​(java.lang.Class<? extends java.util.Comparator<ELResolver>> elResolverComparator)
        The Class of an Comparator<ELResolver/> implementation.
      • setElResolverPredicate

        public void setElResolverPredicate​(java.lang.Class<?> elResolverPredicate)
        The Class of an Predicate<ELResolver> implementation. If used and returns true for a ELResolver instance, such resolver will not be installed in ELResolvers chain. Use with caution - can break functionality defined in JSF specification 'ELResolver Instances Provided by Faces'. For MyFaces versions up to 2.2.x the class provided here must implement the Predicate interface, since version 2.3.0 the class must implement the Predicate interface.
        See Also:
        ResolverBuilderBase.EL_RESOLVER_PREDICATE, Predicate, Predicate
      • setDefaultWindowMode

        public void setDefaultWindowMode​(java.lang.String defaultWindowMode)
        no description.
      • setErrorTemplateResource

        public void setErrorTemplateResource​(java.lang.String errorTemplateResource)
        Indicate the template name used to render the default error page used by MyFaces specific error handler implementation.
      • setDebugTemplateResource

        public void setDebugTemplateResource​(java.lang.String debugTemplateResource)
        Indicate the template name used to render the default debug page (see ui:debug tag).
      • setErrorHandling

        public void setErrorHandling​(java.lang.Boolean errorHandling)
        Indicate if myfaces is responsible to handle errors.
      • setAutocompleteOffViewState

        public void setAutocompleteOffViewState​(java.lang.Boolean autocompleteOffViewState)
        Add autocomplete="off" to the view state hidden field.
      • setUseMultipleJsFilesForJsfUncompressedJs

        public void setUseMultipleJsFilesForJsfUncompressedJs​(java.lang.Boolean useMultipleJsFilesForJsfUncompressedJs)
        If this param is true and the project stage is development mode, the source javascript files will be loaded separately instead have all in just one file, to preserve line numbers and make javascript debugging of the default jsf javascript file more simple.
      • setJsfJsMode

        public void setJsfJsMode​(java.lang.String jsfJsMode)
        Define the mode used for jsf.
      • setTemporalResourcehandlerCacheEnabled

        public void setTemporalResourcehandlerCacheEnabled​(java.lang.Boolean temporalResourcehandlerCacheEnabled)
        If this param is set to true (default false), a temporal directory is created and all files handled by this ResourceLoader are cached there, avoiding the problem described on MYFACES-3586.
      • setServiceProviderFinder

        public void setServiceProviderFinder​(java.lang.Class<? extends org.apache.myfaces.spi.ServiceProviderFinder> serviceProviderFinder)
        Class name of a custom ServiceProviderFinder implementation.
      • setCheckIdProductionMode

        public void setCheckIdProductionMode​(java.lang.String checkIdProductionMode)
        Define how duplicate ids are checked when ProjectStage is Production, by default (auto) it only check ids of components that does not encapsulate markup (like facelets UILeaf).
      • setMarkInitialStateWhenApplyBuildView

        public void setMarkInitialStateWhenApplyBuildView​(java.lang.Boolean markInitialStateWhenApplyBuildView)
        no description.
      • setWrapTagExceptionsAsContextAware

        public void setWrapTagExceptionsAsContextAware​(java.lang.Boolean wrapTagExceptionsAsContextAware)
        Wrap exception caused by calls to EL expressions, so information like the location, expression string and tag name can be retrieved by the ExceptionHandler implementation and used to output meaningful information about itself.
      • setCacheElExpressions

        public void setCacheElExpressions​(org.apache.myfaces.view.facelets.ELExpressionCacheMode cacheElExpressions)
        Indicates if expressions generated by facelets should be cached or not.
      • setViewPoolMaxPoolSize

        public void setViewPoolMaxPoolSize​(java.lang.Integer viewPoolMaxPoolSize)
        Defines the number of views to be hold per each view metadata definition.
      • setViewPoolMaxDynamicPartialLimit

        public void setViewPoolMaxDynamicPartialLimit​(java.lang.Integer viewPoolMaxDynamicPartialLimit)
        Defines the limit of the views that cannot be reused partially.
      • setViewPoolEntryMode

        public void setViewPoolEntryMode​(java.lang.String viewPoolEntryMode)
        Defines the type of memory reference that is used to hold the view into memory.
      • setViewPoolDeferredNavigation

        public void setViewPoolDeferredNavigation​(java.lang.Boolean viewPoolDeferredNavigation)
        Defines if the view pool uses deferred navigation to recycle views when navigation is performed.
      • setExpressionFactory

        public void setExpressionFactory​(java.lang.Class<? extends ExpressionFactory> expressionFactory)
        This parameter specifies the ExpressionFactory implementation to use.
      • setInitializeAlwaysStandalone

        public void setInitializeAlwaysStandalone​(java.lang.Boolean initializeAlwaysStandalone)
        If this param is set to true, the check for faces servlet mapping is not done.
      • setFacesInitializer

        public void setFacesInitializer​(java.lang.Class<? extends org.apache.myfaces.webapp.FacesInitializer> facesInitializer)
        Class name of a custom FacesInitializer implementation.
      • setFacesInitPlugins

        public void setFacesInitPlugins​(java.util.List<java.lang.Class<?>> facesInitPlugins)
        comma delimited list of plugin classes which can be hooked into myfaces.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object