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:
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.
#set ($webConfigGroups = ${model.getWebConfigGroups($modelIds)}) #set ($webConfigGroupsLabel = {"resources" : "Resources (resource)", "validation" : "Conversion and Validation (validation)", "state" : "State Saving (state)", "EL" : "Expression Language (EL)", "viewhandler" : "View Handling (viewhandler)", "render" : "Rendering (render)"} ) #foreach( $webConfigGroup in $webConfigGroups ) #if (${webConfigGroupsLabel.containsKey($webConfigGroup)}) #set ($groupLabel = $webConfigGroupsLabel.get($webConfigGroup)) #else #set ($groupLabel = $webConfigGroup) #end$groupLabel Configuration Params
Name | Since | Default Value | Short Description |
---|
Other Configuration Params
Name | Since | Default Value | Short Description |
---|
Artifact Id: $webConfig.modelId
Param Name: $webConfigParam.name
|