Web Context Parameters
MyFaces core behavior can be customized, adding some web config params into your WEB-INF/web.xml file for your custom project in this way:
<context-param> <param-name>org.apache.myfaces.SOME_USEFUL_PARAM</param-name> <param-value>someValue</param-value> </context-param>
Below is the list of available web context parameters supported:
Summary
Click on the name of each param to find detailed information about each one of them.
The "since" column means the version since the param was added. Note this param is not "lineal", so please check the release dates on myfaces issue tracker to know if an specified version has or not the selected param. For example, if a param was added on 2.0.7, it means that 2.1.1 has the parameter because it was released on the same time, but 2.1.0 will not have it, because it was released before that date.
Expression Language (EL) Configuration Params
Name | Since | Default Value | Short Description |
---|---|---|---|
org.apache.myfaces.STRICT_JSF_2_CC_EL_RESOLVER | 2.0.10 | false | 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 |
org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL | 2.0.13,2.1.7 | true | 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. |
org.apache.myfaces.EL_RESOLVER_COMPARATOR | 1.2.10, 2.0.2 | The Class of an Comparator<ELResolver> implementation. | |
org.apache.myfaces.EL_RESOLVER_PREDICATE | 2.1.0 | The Class of an org.apache.commons.collections.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' | |
org.apache.myfaces.CACHE_EL_EXPRESSIONS | 2.0.8 | noCache | Indicates if expressions generated by facelets should be cached or not |
org.apache.myfaces.EXPRESSION_FACTORY | 1.2.7 | This parameter specifies the ExpressionFactory implementation to use |
Rendering (render) Configuration Params
Name | Since | Default Value | Short Description |
---|---|---|---|
org.apache.myfaces.PRETTY_HTML | 1.1 | true | If true, rendered HTML code will be formatted, so that it is "human readable" |
org.apache.myfaces.ALLOW_JAVASCRIPT | 1.1 | true | This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output |
org.apache.myfaces.STRICT_XHTML_LINKS | 1.1.6 | true | Use "&" entity instead a plain "&" character within HTML |
org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON | 1.2.3 | false | This param renders the clear javascript on button necessary only for compatibility with hidden fields feature of myfaces |
org.apache.myfaces.RENDER_HIDDEN_FIELDS_FOR_LINK_PARAMS | 1.2.9 | false | 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 |
org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE | 1.1 | false | Add a code that save the form before submit using a link (call to window |
org.apache.myfaces.WRAP_SCRIPT_CONTENT_WITH_XML_COMMENT_TAG | 2.0.1 | true | Wrap content inside script with xml comment to prevent old browsers to display it |
org.apache.myfaces.RENDER_FORM_SUBMIT_SCRIPT_INLINE | 2.0.2 | false | If set true, render the form submit script inline, as in myfaces core 1 |
org.apache.myfaces.DEFAULT_RESPONSE_WRITER_CONTENT_TYPE_MODE | 2.0.11,2.1.5 | text/html | Define the default content type that the default ResponseWriter generates, when no match can be derived from HTTP Accept Header |
org.apache.myfaces.USE_MULTIPLE_JS_FILES_FOR_JSF_UNCOMPRESSED_JS | 2.0.1 | false | 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 |
org.apache.myfaces.JSF_JS_MODE | 2.0.10,2.1.4 | normal | Define the mode used for jsf |
Resources (resource) Configuration Params
Name | Since | Default Value | Short Description |
---|---|---|---|
javax.faces.RESOURCE_EXCLUDES | 2.0 | .class .jsp .jspx .properties .xhtml .groovy | Space separated file extensions that will not be served by the default ResourceHandler implementation |
org.apache.myfaces.RESOURCE_MAX_TIME_EXPIRES | 2.0 | 604800000 | Set the max time in miliseconds set on the "Expires" header for a resource rendered by the default ResourceHandler |
org.apache.myfaces.RESOURCE_HANDLER_CACHE_SIZE | 2.0.2 | 500 | Controls the size of the cache used to check if a resource exists or not |
org.apache.myfaces.RESOURCE_HANDLER_CACHE_ENABLED | 2.0.2 | true | Enable or disable the cache used to "remember" if a resource handled by the default ResourceHandler exists or not |
org.apache.myfaces.STRICT_JSF_2_ALLOW_SLASH_LIBRARY_NAME | 2.1.6, 2.0.12 | false | Allow slash in the library name of a Resource |
State Saving (state) Configuration Params
Name | Since | Default Value | Short Description |
---|---|---|---|
javax.faces.STATE_SAVING_METHOD | 1.1 | server | Define the state method to be used. There are two different options " + "defined by the specification: 'client' and 'server' state. |
javax.faces.FULL_STATE_SAVING_VIEW_IDS | 2.0 | Indicate the viewId(s) separated by commas that should be saved and restored fully, without use Partial State Saving (PSS) | |
javax.faces.PARTIAL_STATE_SAVING | 2.0 | true (false with 1.2 webapps) | Enable or disable partial state saving algorithm |
org.apache.myfaces.VIEWSTATE_JAVASCRIPT | 1.1 | false | Set the view state using a javascript function instead a hidden input field |
org.apache.myfaces.RENDER_VIEWSTATE_ID | 1.1 | true | Define if the input field that should store the state (javax |
org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS | 2.0 | auto | Indicate if the facelet associated to the view should be reapplied when the view is refreshed |
org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE | 2.0 | false | 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 |
org.apache.myfaces.USE_ENCRYPTION | 1.1 | true | Indicate if the view state is encrypted or not |
org.apache.myfaces.SECRET | 1.1 | Defines the secret (Base64 encoded) used to initialize the secret key for encryption algorithm | |
org.apache.myfaces.ALGORITHM | 1.1 | DES | Indicate the encryption algorithm used for encrypt the view state |
org.apache.myfaces.SECRET.CACHE | 1.1 | If is set to "false", the secret key used for encryption algorithm is not cached | |
org.apache.myfaces.ALGORITHM.IV | 1.1 | Defines the initialization vector (Base64 encoded) used for the encryption algorithm | |
org.apache.myfaces.ALGORITHM.PARAMETERS | 1.1 | ECB/PKCS5Padding | Defines the default mode and padding used for the encryption algorithm |
org.apache.myfaces.SERIAL_FACTORY | 1.1 | Defines the factory class name using for serialize/deserialize the view state returned by state manager into a byte array | |
org.apache.myfaces.COMPRESS_STATE_IN_CLIENT | 1.1 | false | Indicate if the view state should be compressed before encrypted(optional) and encoded |
org.apache.myfaces.MAC_ALGORITHM | HmacSHA1 | Indicate the algorithm used to calculate the Message Authentication Code that is added to the view state | |
org.apache.myfaces.MAC_SECRET | Define the initialization code that are used to initialize the secret key used on the Message Authentication Code algorithm | ||
org.apache.myfaces.MAC_SECRET.CACHE | If is set to "false", the secret key used for MAC algorithm is not cached | ||
org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION | 1.1 | 20 | Defines the amount (default = 20) of the latest views are stored in session |
org.apache.myfaces.NUMBER_OF_SEQUENTIAL_VIEWS_IN_SESSION | 2.0.6 | Indicates the amount of views (default is not active) that should be stored in session between sequential POST or POST-REDIRECT-GET if org | |
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION | 1.1 | true | Indicate if the state should be serialized before save it on the session |
org.apache.myfaces.COMPRESS_STATE_IN_SESSION | 1.1 | true | Indicates that the serialized state will be compressed before it is written to the session |
org.apache.myfaces.CACHE_OLD_VIEWS_IN_SESSION_MODE | 1.2.5 | off | Define the way of handle old view references(views removed from session), making possible to store it in a cache, so the state manager first try to get the view from the session |
org.apache.myfaces.USE_FLASH_SCOPE_PURGE_VIEWS_IN_SESSION | 2.0.6 | false | 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 |
org.apache.myfaces.HANDLE_STATE_CACHING_MECHANICS | 2.0.6 | true | Define if the state caching code should be handled by the ResponseStateManager or by the StateManager used |
org.apache.myfaces.SAVE_STATE_WITH_VISIT_TREE_ON_PSS | 2.0.8, 2.1.2 | true | If this param is set to true (by default), when pss algorithm is executed to save state, a visit tree traversal is done, instead a plain traversal like previous versions (2 |
org.apache.myfaces.CHECK_ID_PRODUCTION_MODE | 2.0.12, 2.1.6 | auto | 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) |
Conversion and Validation (validation) Configuration Params
Name | Since | Default Value | Short Description |
---|---|---|---|
javax.faces.VALIDATE_EMPTY_FIELDS | 2.0 | auto | Force validation on empty fields (By default is auto, which means it is only enabled when Bean Validation binaries are available on the current classpath) |
javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL | 2.0 | false | Submitted values are decoded as null values instead empty strings |
org.apache.myfaces.ENUM_CONVERTER_ALLOW_STRING_PASSTROUGH | 2.0.1 | false | If value is a String instance and this param is true, pass it directly without try any change |
javax.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR | 2.0 | true | If this init parameter is present, no Bean Validators should be added to an UIInput by default |
javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE | 2.0 | false | Set the default timezone as system timezone when a converter extending from DateTimeConverter is created |
View Handling (viewhandler) Configuration Params
Name | Since | Default Value | Short Description |
---|---|---|---|
javax.faces.DEFAULT_SUFFIX | 1.1 | .xhtml .view.xml .jsp | Indicate the default suffixes, separated by spaces to derive the default file URI used by JSF to create views and render pages |
javax.faces.FACELETS_SUFFIX | 2.0 | .xhtml | The default extension used to handle facelets pages |
javax.faces.FACELETS_VIEW_MAPPINGS | 2.0 | Set of extensions handled by facelets, separated by ';' | |
org.apache.myfaces.CHECKED_VIEWID_CACHE_SIZE | 2.0.2 | 500 | Controls the size of the cache used to 'remember' if a view exists or not. |
org.apache.myfaces.CHECKED_VIEWID_CACHE_ENABLED | 2.0.2 | true | Enable or disable a cache used to 'remember' if a view exists or not and reduce the impact " + "of sucesive calls to ExternalContext.getResource(). |
org.apache.myfaces.VIEW_UNIQUE_IDS_CACHE_ENABLED | 2.0.13, 2.1.7 | false | Enable or disable a cache used to 'remember' the generated facelets unique ids " + "and reduce the impact over memory usage. |
org.apache.myfaces.COMPONENT_UNIQUE_IDS_CACHE_SIZE | 2.0.13, 2.1.7 | 100 | Set the size of the cache used to store strings generated using SectionUniqueIdCounter for component ids |
org.apache.myfaces.CHECKED_VIEWID_CACHE_SIZE | 2.0.2 | 500 | no description |
org.apache.myfaces.CHECKED_VIEWID_CACHE_ENABLED | 2.0.2 | true | no description |
javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER | 2.0 | false | Disable facelets VDL from the current application project |
Other Configuration Params
Name | Since | Default Value | Short Description |
---|---|---|---|
javax.faces.HONOR_CURRENT_COMPONENT_ATTRIBUTES | 2.1.0 | false | Indicate if the facesContext attribute values under the keys javax |
javax.faces.CONFIG_FILES | 1.1 | Comma separated list of URIs of (additional) faces config files | |
javax.faces.LIFECYCLE_ID | 1.1 | Identify the Lifecycle instance to be used | |
org.apache.myfaces.ERROR_HANDLER | 1.2.4 | Deprecated: use JSF 2.0 ExceptionHandler | |
org.apache.myfaces.CONFIG_REFRESH_PERIOD | 1.1 | 2 | Set the time in seconds that check for updates of web |
org.apache.myfaces.DELEGATE_FACES_SERVLET | 1.2.7 | Define an alternate class name that will be used to initialize MyFaces, instead the default javax | |
org.apache.myfaces.VALIDATE_XML | 2.0 | If set to true, tag library XML files and faces config XML files using schema will be validated during application start up | |
org.apache.myfaces.DEBUG_PHASE_LISTENER | 2.0.8 | Enable/disable DebugPhaseListener feature, with provide useful information about ValueHolder variables (submittedValue, localValue, value) | |
org.apache.myfaces.STRICT_JSF_2_REFRESH_TARGET_AJAX | 2.0.10 | false | Detect if a target (usually head) should be update for the current view in an ajax render operation |
org.apache.myfaces.FLASH_SCOPE_DISABLED | 2.0.5 | false | Defines whether flash scope is disabled, preventing add the Flash cookie to the response |
javax.faces.PROJECT_STAGE | 2.0 | Production | Indicate the stage of the initialized application |
org.apache.myfaces.LAZY_LOAD_CONFIG_OBJECTS | 2.0 | true | 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 |
org.apache.myfaces.VALIDATE | 2.0 | false | Validate if the managed beans and navigations rules are correct |
org.apache.myfaces.annotation.SCAN_PACKAGES | 2.0 | Servlet context init parameter which defines which packages to scan for beans, separated by commas | |
org.apache.myfaces.config.annotation.LifecycleProvider | 1.1 | no description | |
org.apache.myfaces.ERROR_TEMPLATE_RESOURCE | 1.2.4 | META-INF/rsc/myfaces-dev-error.xml | Indicate the template name used to render the default error page used by MyFaces specific error handler implementation |
org.apache.myfaces.DEBUG_TEMPLATE_RESOURCE | 1.2.4 | META-INF/rsc/myfaces-dev-debug.xml | Indicate the template name used to render the default debug page (see ui:debug tag) |
org.apache.myfaces.ERROR_HANDLING | 1.2.4 | false, on Development Project stage: true | Indicate if myfaces is responsible to handle errors |
org.apache.myfaces.SERVICE_PROVIDER_FINDER | 2.0.3 | Class name of a custom ServiceProviderFinder implementation. | |
javax.faces.FACELETS_BUFFER_SIZE | 2.0 | Define the default buffer size value passed to ExternalContext.setResponseBufferResponse() and in " + "a servlet environment to HttpServletResponse.setBufferSize() | |
facelets.BUFFER_SIZE | 2.0 | Define the default buffer size value passed to ExternalContext | |
javax.faces.FACELETS_DECORATORS | 2.0 | Set of class names, separated by ';', implementing TagDecorator interface, used to transform a view definition in a facelet abstract syntax tree, that is used later to generate a component tree | |
facelets.DECORATORS | 2.0 | Set of class names, separated by ';', implementing TagDecorator interface, used to transform a view definition in a facelet abstract syntax tree, that is used later to generate a component tree | |
javax.faces.FACELETS_LIBRARIES | 2.0 | Set of .taglib.xml files, separated by ';' that should be loaded by facelet engine. | |
facelets.LIBRARIES | 2.0 | Set of .taglib.xml files, separated by ';' that should be loaded by facelet engine. | |
javax.faces.FACELETS_REFRESH_PERIOD | 2.0 | -1 | Define the period used to refresh the facelet abstract syntax tree from the view definition file |
facelets.REFRESH_PERIOD | 2.0 | -1 | Define the period used to refresh the facelet abstract syntax tree from the view definition file |
javax.faces.FACELETS_RESOURCE_RESOLVER | 2.0 | Class implementing ResourceResolver interface used to locate facelet resources | |
facelets.RESOURCE_RESOLVER | 2.0 | Class implementing ResourceResolver interface used to locate facelet resources | |
javax.faces.FACELETS_SKIP_COMMENTS | 2.0 | Skip comments found on a facelet file | |
facelets.SKIP_COMMENTS | 2.0 | Skip comments found on a facelet file | |
org.apache.myfaces.MARK_INITIAL_STATE_WHEN_APPLY_BUILD_VIEW | 2.1 | false | no description |
org.apache.myfaces.WRAP_TAG_EXCEPTIONS_AS_CONTEXT_AWARE | 2.0.9, 2.1.3 | true | 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 |
org.apache.myfaces.INITIALIZE_ALWAYS_STANDALONE | 2.0.3 | false | If this param is set to true, the check for faces servlet mapping is not done |
org.apache.myfaces.LOG_WEB_CONTEXT_PARAMS | auto | Indicate if log all web config params should be done before initialize the webapp | |
org.apache.myfaces.FACES_INITIALIZER | 2.0.1 | Class name of a custom FacesInitializer implementation. | |
org.apache.myfaces.FACES_INIT_PLUGINS | 2.0 | comma delimited list of plugin classes which can be hooked into myfaces |
Detailed Information
Artifact Id: myfaces-api
Param Name: javax.faces.RESOURCE_EXCLUDES
|
Param Name: javax.faces.STATE_SAVING_METHOD
When "client" state is configured, all state information required to create the tree is embedded within the data rendered to the client. Note that because data received from a remote client must always be treated as "tainted", care must be taken when using such data. Some StateManager implementations may use encryption to ensure that clients cannot modify the data, and that the data received on postback is therefore trustworthy. When "server" state is configured, the data is saved somewhere "on the back end", and (at most) a token is embedded in the data rendered to the user. |
Param Name: javax.faces.FULL_STATE_SAVING_VIEW_IDS
|
Param Name: javax.faces.PARTIAL_STATE_SAVING
Partial State Saving algorithm allows to reduce the size of the state required to save a view, keeping track of the "delta" or differences between the view build by first time and the current state of the view. If the webapp faces-config file version is 2.0 or upper the default value is true, otherwise is false. |
Param Name: javax.faces.DEFAULT_SUFFIX
|
Param Name: javax.faces.FACELETS_SUFFIX
|
Param Name: javax.faces.FACELETS_VIEW_MAPPINGS
|
Param Name: javax.faces.HONOR_CURRENT_COMPONENT_ATTRIBUTES
|
Param Name: javax.faces.VALIDATE_EMPTY_FIELDS
|
Param Name: javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL
Note this param is ignored for components extending from UISelectOne/UISelectMany. |
Param Name: org.apache.myfaces.ENUM_CONVERTER_ALLOW_STRING_PASSTROUGH
|
Param Name: javax.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR
|
Param Name: javax.faces.CONFIG_FILES
|
Param Name: javax.faces.LIFECYCLE_ID
|
Param Name: org.apache.myfaces.ERROR_HANDLER
|
Artifact Id: myfaces-impl-shared
Param Name: org.apache.myfaces.CHECKED_VIEWID_CACHE_SIZE
|
Param Name: org.apache.myfaces.CHECKED_VIEWID_CACHE_ENABLED
|
Param Name: org.apache.myfaces.PRETTY_HTML
|
Param Name: org.apache.myfaces.ALLOW_JAVASCRIPT
|
Param Name: org.apache.myfaces.CONFIG_REFRESH_PERIOD
|
Param Name: org.apache.myfaces.VIEWSTATE_JAVASCRIPT
|
Param Name: org.apache.myfaces.RENDER_VIEWSTATE_ID
|
Param Name: org.apache.myfaces.STRICT_XHTML_LINKS
W3C recommends to use the "&" entity instead of a plain "&" character within HTML. This also applies to attribute values and thus to the "href" attribute of <a> elements as well. Even more, when XHTML is used as output the usage of plain "&" characters is forbidden and would lead to invalid XML code. Therefore, since version 1.1.6 MyFaces renders the correct "&" entity for links. The init parameter org.apache.myfaces.STRICT_XHTML_LINKS makes it possible to restore the old behaviour and to make MyFaces "bug compatible" to the Sun RI which renders plain "&" chars in links as well. See: HTML 4.01 Specification See: Jira: MYFACES-1774 |
Param Name: org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON
|
Param Name: org.apache.myfaces.RENDER_HIDDEN_FIELDS_FOR_LINK_PARAMS
|
Param Name: org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE
|
Param Name: org.apache.myfaces.DELEGATE_FACES_SERVLET
This helps MyFaces to detect the mappings and other additional configuration used to setup the environment, and prevent abort initialization if no FacesServlet config is detected. |
Param Name: org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS
This param is only valid when partial state saving is on. If this is set as true, the tag-handlers are always reapplied before render view, like in facelets 1.1.x, allowing c:if work correctly to "toggle" components based on a value changed on invoke application phase. If the param is set as "auto", the implementation check if c:if, c:forEach, c:choose and ui:include with src=ELExpression is used on the page and if that so, mark the view to be refreshed. |
Param Name: org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE
This param is only valid when partial state saving is on. If this is set as true, parent components containing c:if, c:forEach, c:choose and ui:include with src=ELExpression are marked to be restored fully, so state is preserved between request. |
Param Name: org.apache.myfaces.VALIDATE_XML
|
Param Name: org.apache.myfaces.WRAP_SCRIPT_CONTENT_WITH_XML_COMMENT_TAG
|
Param Name: org.apache.myfaces.RENDER_FORM_SUBMIT_SCRIPT_INLINE
|
Param Name: org.apache.myfaces.DEBUG_PHASE_LISTENER
|
Param Name: org.apache.myfaces.STRICT_JSF_2_REFRESH_TARGET_AJAX
|
Param Name: org.apache.myfaces.STRICT_JSF_2_CC_EL_RESOLVER
|
Param Name: org.apache.myfaces.DEFAULT_RESPONSE_WRITER_CONTENT_TYPE_MODE
|
Param Name: org.apache.myfaces.VIEW_UNIQUE_IDS_CACHE_ENABLED
|
Param Name: org.apache.myfaces.COMPONENT_UNIQUE_IDS_CACHE_SIZE
|
Param Name: org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL
|
Param Name: org.apache.myfaces.FLASH_SCOPE_DISABLED
This is useful for applications that does not require to use flash scope, and instead uses other scopes. |
Param Name: org.apache.myfaces.RESOURCE_MAX_TIME_EXPIRES
|
Param Name: org.apache.myfaces.RESOURCE_HANDLER_CACHE_SIZE
See org.apache.myfaces.RESOURCE_HANDLER_CACHE_ENABLED for details. |
Param Name: org.apache.myfaces.RESOURCE_HANDLER_CACHE_ENABLED
|
Param Name: org.apache.myfaces.USE_ENCRYPTION
|
Param Name: org.apache.myfaces.SECRET
|
Param Name: org.apache.myfaces.ALGORITHM
|
Param Name: org.apache.myfaces.SECRET.CACHE
|
Param Name: org.apache.myfaces.ALGORITHM.IV
|
Param Name: org.apache.myfaces.ALGORITHM.PARAMETERS
|
Param Name: org.apache.myfaces.SERIAL_FACTORY
|
Param Name: org.apache.myfaces.COMPRESS_STATE_IN_CLIENT
|
Param Name: org.apache.myfaces.MAC_ALGORITHM
|
Param Name: org.apache.myfaces.MAC_SECRET
|
Param Name: org.apache.myfaces.MAC_SECRET.CACHE
|
Artifact Id: myfaces-impl
Param Name: javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE
|
Param Name: javax.faces.PROJECT_STAGE
|
Param Name: org.apache.myfaces.LAZY_LOAD_CONFIG_OBJECTS
|
Param Name: org.apache.myfaces.STRICT_JSF_2_ALLOW_SLASH_LIBRARY_NAME
|
Param Name: org.apache.myfaces.VALIDATE
For example, it checks if the managed bean classes really exists, or if the navigation rules points to existing view files. |
Param Name: org.apache.myfaces.annotation.SCAN_PACKAGES
|
Param Name: org.apache.myfaces.config.annotation.LifecycleProvider
|
Param Name: org.apache.myfaces.EL_RESOLVER_COMPARATOR
This is useful when it is necessary to put an ELResolver on top of other resolvers. Note set this param override the default ordering described by JSF spec section 5. |
Param Name: org.apache.myfaces.EL_RESOLVER_PREDICATE
|
Param Name: org.apache.myfaces.CHECKED_VIEWID_CACHE_SIZE
|
Param Name: org.apache.myfaces.CHECKED_VIEWID_CACHE_ENABLED
|
Param Name: org.apache.myfaces.ERROR_TEMPLATE_RESOURCE
See org.apache.myfaces.ERROR_HANDLING for details about how to enable/disable it. |
Param Name: org.apache.myfaces.DEBUG_TEMPLATE_RESOURCE
|
Param Name: org.apache.myfaces.ERROR_HANDLING
|
Param Name: org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
Only applicable if state saving method is "server" (= default). |
Param Name: org.apache.myfaces.NUMBER_OF_SEQUENTIAL_VIEWS_IN_SESSION
Only applicable if state saving method is "server" (= default). For example, if this param has value = 2 and in your custom webapp there is a form that is clicked 3 times, only 2 views will be stored and the third one (the one stored the first time) will be removed from session, even if the view can store more sessions org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION. This feature becomes useful for multi-window applications. where without this feature a window can swallow all view slots so the other ones will throw ViewExpiredException. |
Param Name: org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
Only applicable if state saving method is "server" (= default). If true (default) the state will be serialized to a byte stream before it is written to the session. If false the state will not be serialized to a byte stream. |
Param Name: org.apache.myfaces.COMPRESS_STATE_IN_SESSION
|
Param Name: org.apache.myfaces.CACHE_OLD_VIEWS_IN_SESSION_MODE
Only applicable if state saving method is "server" (= default). The gc is responsible for remove the views, according to the rules used for soft, weak or phantom references. If a key in soft and weak mode is garbage collected, its values are purged. By default no cache is used, so views removed from session became phantom references.
|
Param Name: org.apache.myfaces.USE_FLASH_SCOPE_PURGE_VIEWS_IN_SESSION
Only applicable if state saving method is "server" (= default). The default value is false. |
Param Name: org.apache.myfaces.HANDLE_STATE_CACHING_MECHANICS
This param is used to keep compatibility with previous state managers implementations depending from old myfaces way to deal with this. For example, JspStateManagerImpl requires this param set to false, but by default it is set to true, to keep aligned with the Reference Implementation (RI). |
Param Name: org.apache.myfaces.USE_MULTIPLE_JS_FILES_FOR_JSF_UNCOMPRESSED_JS
|
Param Name: org.apache.myfaces.JSF_JS_MODE
If org.apache.myfaces.USE_MULTIPLE_JS_FILES_FOR_JSF_UNCOMPRESSED_JS param is set to true and project stage is Development, this param is ignored. |
Param Name: org.apache.myfaces.SERVICE_PROVIDER_FINDER
This class is used to override the default SPI scanning algorithm, that relies on the thread context class loader to locate entries under META-INF/services folder. |
Param Name: javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER
|
Param Name: org.apache.myfaces.SAVE_STATE_WITH_VISIT_TREE_ON_PSS
|
Param Name: org.apache.myfaces.CHECK_ID_PRODUCTION_MODE
According to specification, identifiers must be unique within the scope of the nearest ancestor to the component that is a naming container. |
Param Name: javax.faces.FACELETS_BUFFER_SIZE
|
Param Name: facelets.BUFFER_SIZE
|
Param Name: javax.faces.FACELETS_DECORATORS
|
Param Name: facelets.DECORATORS
|
Param Name: javax.faces.FACELETS_LIBRARIES
|
Param Name: facelets.LIBRARIES
|
Param Name: javax.faces.FACELETS_REFRESH_PERIOD
By default is infinite (no active). |
Param Name: facelets.REFRESH_PERIOD
By default is infinite (no active). |
Param Name: javax.faces.FACELETS_RESOURCE_RESOLVER
|
Param Name: facelets.RESOURCE_RESOLVER
|
Param Name: javax.faces.FACELETS_SKIP_COMMENTS
|
Param Name: facelets.SKIP_COMMENTS
|
Param Name: org.apache.myfaces.MARK_INITIAL_STATE_WHEN_APPLY_BUILD_VIEW
|
Param Name: org.apache.myfaces.WRAP_TAG_EXCEPTIONS_AS_CONTEXT_AWARE
Note in some cases this will wrap the original javax.el.ELException, so the information will not be on the stack trace unless ExceptionHandler retrieve checking if the exception implements ContextAware interface and calling getWrapped() method. |
Param Name: org.apache.myfaces.CACHE_EL_EXPRESSIONS
|
Param Name: org.apache.myfaces.EXPRESSION_FACTORY
|
Param Name: org.apache.myfaces.INITIALIZE_ALWAYS_STANDALONE
|
Param Name: org.apache.myfaces.LOG_WEB_CONTEXT_PARAMS
If is set in "auto" mode, web config params are only logged on "Development" and "Production" project stages. |
Param Name: org.apache.myfaces.FACES_INITIALIZER
This is used when some custom task must be done specifically when a myfaces web context is initialized or destroyed, or when MyFaces should be initialized in some custom environment. |
Param Name: org.apache.myfaces.FACES_INIT_PLUGINS
|