Configuration of the modules in WEB-INF/conf/TurbineResource.properties:
# -------------------------------------------------------------------
#
#  M O D U L E  P A C K A G E S
#
# -------------------------------------------------------------------
# This is the "classpath" for Turbine.  In order to locate your own
# modules, you should add them to this path.  For example, if you have
# com.company.actions, com.company.screens, com.company.navigations,
# then this setting would be "com.company,org.apache.turbine.modules".
# This path is searched in order.  For example, Turbine comes with a
# screen module named "Login".  If you wanted to have your own screen
# module named "Login", then you would specify the path to your
# modules before the others.
#
# Default: org.apache.turbine.modules
# -------------------------------------------------------------------

# These look like mostly ECS modules
module.packages=com.your.package.modules
module.packages=org.apache.jetspeed.modules
module.packages=org.apache.turbine.modules

Configuration of velocity templates in WEB-INF/conf/TurbineResource.properties:
# This parameter supports a comma separated list of directories
# Each directory is searched in order to find a template.
# This is useful for example, in defining application specific templates in a separate structure from the jetspeed core templates
# Note this needs to be set in 3 places - for the jsp loader and vm loader in TR.p and for the template locator in JR.p
services.VelocityService.file.resource.loader.path = /WEB-INF/templates/vm,/WEB-INF/templates_xxx/vm


Configuration of JSP template in WEB-INF/conf/TurbineResource.properties:
# This parameter supports a comma separated list of directories
# Each directory is searched in order to find a template.
# This is useful for example, in defining application specific templates in a separate structure from the jetspeed core templates
# Note this needs to be set in 3 places - for the jsp loader and vm loader in TR.p and for the template locator in JR.p
services.JspService.templates =/WEB-INF/templates/jsp,/WEB-INF/templates_xxx/jsp


There is another tuning in /WEB-INF/conf/JetspeedResources.properties that I don�t really understand.
# This parameter supports a comma separated list of directories
# Each directory is searched in order to find a template.
# This is useful for example, in defining application specific templates in a separate structure from the jetspeed core templates
# Note this needs to be set in 3 places - for the jsp loader and vm loader in TR.p and for the template locator in JR.p
services.TemplateLocator.templateRoot=/WEB-INF/templates,/WEB-INF/templates_xxx


You can of course also choose other directory names.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to