Configuration Paramaters Overview

General Information

This page is a general quick overview over the possible configuration parameters, if you need further details please visit the setup guide.

Configuration Parameters

Configuration Parameters

Param

Required

Possible values

Short Description

org.apache.myfaces. FACES_INIT_PLUGINS

YES

org.apache.myfaces.scripting.servlet. StartupServletContextPluginChainLoader

MyFaces Extenion Point Setup

scriptingFilter

YES

The scripting filter for further information look below

 <filter>
       <filter-name>scriptingFilter</filter-name>
       <filter-class>org.apache.myfaces.scripting.servlet.ScriptingServletFilter</filter-class>
    </filter>
    <filter-mapping>
       <filter-name>scriptingFilter</filter-name>
       <url-pattern>*.jsf</url-pattern>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       <dispatcher>ERROR</dispatcher>
    </filter-mapping>

org.apache.myfaces.scripting. groovy.LOADER_PATHS

NO

comma separate list of paths

Additional comma separated loader paths to allow direct editing of groovy files on the sources directory instead of editing inthe deployment dir /WEB-INF/groovy

org.apache.myfaces.scripting. java.LOADER_PATHS

NO

comma separate list of paths

Additional comma separated loader paths to allow direct editing of java files on the sources directory instead of editing in the deployment dir /WEB-INF/java

org.apache.myfaces.scripting. resource.LOADER_PATHS

NO

comma separate list of paths

Additional comma separated loader paths to allow direct editing of resources on the sources directory instead of editing in the deployment directory

facelets.RESOURCE_RESOLVER

NO

org.apache.myfaces.scripting.facelet.ReroutingResourceResolver

Enables the loading of xhtml facelet pages from your sourcedir if org.apache.myfaces.scripting.resource.LOADER_PATHS is set properly

org.apache.myfaces. scripting.PGK_WHITELIST

NO

a comma separate list of whitelisted packages

Enables package whitelisting, a mechanism which allows to compile and reload only from whitelisted packages

org.apache.myfaces. scripting.PGK_ADDITIONAL_CLASSPATH

NO

a comma separate list of additional classpaths

Enables additional classpaths for the compile time