JSF 2 Configuration parameters
|
|
|
Java server faces 2 configuration parameters
Servlet containers support application configuration parameters that may be customized by including
| Param name | Parameter description |
|---|---|
|
javax.faces.CONFIG_FILES |
Comma-delimited list of context-relative resource paths under which the JSF implementation will look for application configuration resources (see Section 11.4.4 "Application Configuration�Resource Format"), before loading a configuration resource named "/WEB-INF/faces-config.xml" (if such a�resource exists). If "/WEB-INF/faces-config.xml" is present in the list, it must be ignored. |
|
javax.faces.DATETIMECONVERTER_DEFAULT
|
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, Application.createConverter() must guarantee that the default for the timezone of all javax.faces.convert.DateTimeConverter instances must be equal to TimeZone.getDefault() instead of "GMT". |
|
javax.faces.DEFAULT_SUFFIX |
Allow the web application to define an alternate suffix for JSP pages�containing
JSF
content. See the javadocs for the symbolic constant
|
|
javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER |
If this param is set, and calling
toLowerCase().equals("true")
on a String representation of its value returns true, the default ViewHandler must behave as specified in the latest 1.2 version of this specification. Any behavior specified in Section 7.5
|
| javax.faces.FACELETS_LIBRARIES |
If this param is set, the runtime must interpret it as a semicolon (;) separated list of paths, starting with g/h (without the quotes).
|
|
javax.faces.FACELETS_BUFFER_SIZE |
The buffer size to set on the response when the ResponseWriter is generated. By
default the value is -1
, which will not assign a
|
|
javax.faces.DECORATORS |
A semicolon (;) delimitted list of class names of type
javax.faces.view.facelets.TagDecorato
r, with a no-argument constructor.
|
|
javax.faces.FACELETS_REFRESH_PERIOD |
When a page is requested, what interval in seconds should the compiler check for changes. If you don't want the compiler to check for
|
| javax.faces.FACELETS_RESOURCE_RESOLVER |
If this param is set, the runtime must interpret its value as a�fully qualified classname of a java class that extends javax.faces.view.facelets.ResourceResolver and has a zero argument public constructor or a one argument public constructor where the type of the argument is�ResourceResolver.
If this param is set and its value does not conform to those requirements, the runtime must�log a message and continue. If it does conform to these requirements and has a one-argument constructor, the default�ResourceResolver must be passed to the constructor. If it has a zero argument constructor it is invoked directly.
|
| javax.faces.FACELETS_SKIP_COMMENTS |
If this param is set, and calling�toLowerCase().equals("true") on a String representation of its value returns true, the runtime must
|
| javax.faces.FACELETS_SUFFIX |
Allow the web application to define an alternate suffix for Facelet based�XHTML pages containing
JSF
content. See the javadocs for the symbolic constant
|
| javax.faces.FACELETS_VIEW_MAPPINGS |
If this param is set, the runtime must interpret it as a semicolon
|
| javax.faces.FULL_STATE_SAVING_VIEW_IDS |
The runtime must interpret the value of this parameter as a
|
|
javax.faces.INTERPRET_EMPTY_STRING
_SUBMITTED_VALUES_AS_NULL |
If this param is set, and
|
| javax.faces.LIFECYCLE_ID |
Lifecycle identifier of the
Lifecycle
instance to be used when processing
|
| javax.faces.PARTIAL_STATE_SAVING |
The ServletContext init parameter consulted by the runtime to�determine if the partial state saving mechanism should be used.
For applications versioned at 1.2 and under, the runtime must not use the partial state saving mechanism.
|
| javax.faces.PROJECT_STAGE |
A human readable string describing where this particular
JSF
application is in
corresponding to the enum constants of the class�javax.faces.application.ProjectStage. It is also possible to set this value via JNDI. See the javadocs�for Application.getProjectStage(). More details at JSF Project stage |
| javax.faces.STATE_SAVING_METHOD |
The location where state information is saved. Valid values are :
If not specified, the default value "server" must be used. |
| javax.faces.VALIDATE_EMPTY_FIELDS |
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, all submitted fields
|
|
javax.faces.validator
.DISABLE_DEFAULT_BEAN_VALIDATOR |
If this param is set, and calling�toLowerCase().equals("true") on a String representation of its value returns true, the runtime must not
|
Related articles
If you have any remark or questions feel free to put a comment.If you enjoyed this tutorial and want to promote it don't hesitate to click on
Tags: application , param , runtime