Overview
Search
Other MyFaces Extensions
Community
- [Mailing Lists]
Page Tree Search |
---|
Page Tree |
---|
Column |
---|
Section |
---|
Code Block | ||||
---|---|---|---|---|
| ||||
<context-param> <description> Initializes the plugins for our scripting support </description> <param-name>org.apache.myfaces.FACES_INIT_PLUGINS</param-name> <param-value>org.apache.myfaces.extensions.scripting.servlet.StartupServletContextPluginChainLoader</param-value> </context-param> |
Following configuration entries are optional context parameters which have to use the same syntax as above:
Param | Required | Possible Values | Short Description |
---|---|---|---|
org.apache.myfaces.extensions.scripting.groovy.LOADER_PATHS | No | comma separated list of paths | Additional comma separated loader paths to allow direct editing of groovy files on the sources directory instead of editing in the deployment dir /WEB-INF/groovy |
org.apache.myfaces.extensions.scripting.scala.LOADER_PATHS | No | comma separated list of paths | Additional comma separated loader paths to allow direct editing of scala files on the sources directory instead of editing in the deployment dir /WEB-INF/scala |
org.apache.myfaces.extensions.scripting.java.LOADER_PATHS | No | comma separated 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.extensions.scripting.resource.LOADER_PATHS | No | comma separated list of paths | Additional comma separated loader paths to allow direct editing of resource files on the sources directory instead of editing in the deployment dir |
facelets.RESOURCE_RESOLVER | No | org.apache.myfaces.extensions.scripting.jsf.facelet.MyFacesReroutingResourceResolver | Enables the loading of xhtml facelet pages from your source directory, if org.apache.myfaces.extensions.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. This can help in case of having to reroute ext-scripting to your compile source directories. With this option you can isolate your own dynamic classes from the rest of the system. |
org.apache.myfaces.extensions.scripting.PGK_ADDITIONAL_CLASSPATH | NO | a comma separate list of additional classpaths | enables additional classpaths for the compile time |