Henning P. Schmiedehausen wrote:
If you have any objections to this road map, please speak up now.
Not objections, actually. I thought my patches to UIManager could need
at least some docs in the example configuration files. You find them
attached. I created the patch using TortoiseSVN. I hope it is ok.
Bye, Thomas.
Index:
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/conf/TurbineResources.properties
===================================================================
---
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/conf/TurbineResources.properties
(revision 278925)
+++
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/conf/TurbineResources.properties
(working copy)
@@ -438,6 +438,10 @@
# instantiated for the request only anyway).
services.PullService.tools.per.request.refresh=true
+# Path to the resources of the application tools, relative to the
+# application root
+#services.PullService.tools.resources.dir=/resources/
+
# These are tools that are placed in the context by the service
# These tools will be made available to all your
# templates. You list the tools in the following way:
@@ -520,16 +524,32 @@
# This is a tool that allows access to the scheduler service.
# tool.request.scheduler=org.apache.turbine.services.SchedulerTool
+# The UI Manager will allow you to skin your Turbine application using simple
+# properties files that are located in the WEBAPP/resources/ directory
+# hierarchy.
+
tool.global.ui=org.apache.turbine.services.pull.util.UIManager
-# The UI Manager will allow you to skin your Turbine
-# application using simple properties files that are
-# located in the WEBAPP/resources/ui/skins/ directory
-# hierarchy.
+# Path to the UI resources, relative to the resources directory defined above
+#tool.ui.dir.skin=/ui/skins
-tool.ui.skin=default
+# Path to the images of a skin, relative to the skin directory defined above
+#tool.ui.dir.image=/images
+# Default CSS file for a skin
+#tool.ui.css=skin.css
+
+# Default skin name
+#tool.ui.skin=default
+
#
+# The ui tool normally returns absolute URIs.
+# Setting this property to true allows you to change the behaviour if you
+# want only relative URIs (e.g. if you run behind a reverse proxy or a load
+# balancer).
+#tool.ui.want.relative=false
+
+#
# The content tool can put its URIs through the Servlet container,
# which might attach things like the jsessionid even to URIs that
# are not servered by the container.
Index:
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/test-cactus/testapp/WEB-INF/conf/TurbineComplete.properties
===================================================================
---
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/test-cactus/testapp/WEB-INF/conf/TurbineComplete.properties
(revision 278925)
+++
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/test-cactus/testapp/WEB-INF/conf/TurbineComplete.properties
(working copy)
@@ -386,6 +386,10 @@
# instantiated for the request only anyway).
services.PullService.tools.per.request.refresh=true
+# Path to the resources of the application tools, relative to the
+# application root
+#services.PullService.tools.resources.dir=/resources/
+
# These are tools that are placed in the context by the service
# These tools will be made available to all your
# templates. You list the tools in the following way:
@@ -450,7 +454,31 @@
tool.request.content=org.apache.turbine.service.pull.tools.ContentTool
# tool.request.l10n=org.apache.turbine.services.localization.LocalizationTool
+# The UI Manager will allow you to skin your Turbine application using simple
+# properties files that are located in the WEBAPP/resources/ directory
+# hierarchy.
+tool.global.ui=org.apache.turbine.services.pull.util.UIManager
+
+# Path to the UI resources, relative to the resources directory defined above
+#tool.ui.dir.skin=/ui/skins
+
+# Path to the images of a skin, relative to the skin directory defined above
+#tool.ui.dir.image=/images
+
+# Default CSS file for a skin
+#tool.ui.css=skin.css
+
+# Default skin name
+#tool.ui.skin=default
+
+#
+# The ui tool normally returns absolute URIs.
+# Setting this property to true allows you to change the behaviour if you
+# want only relative URIs (e.g. if you run behind a reverse proxy or a load
+# balancer).
+#tool.ui.want.relative=false
+
# -------------------------------------------------------------------
#
# V E L O C I T Y S E R V I C E
Index:
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/rttest/testapp/WEB-INF/conf/TurbineCacheTest.properties
===================================================================
---
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/rttest/testapp/WEB-INF/conf/TurbineCacheTest.properties
(revision 278925)
+++
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/rttest/testapp/WEB-INF/conf/TurbineCacheTest.properties
(working copy)
@@ -529,6 +529,10 @@
# instantiated for the request only anyway).
services.PullService.tools.per.request.refresh=true
+# Path to the resources of the application tools, relative to the
+# application root
+#services.PullService.tools.resources.dir=/resources/
+
# These are tools that are placed in the context by the service
# These tools will be made available to all your
# templates. You list the tools in the following way:
@@ -597,15 +601,31 @@
# tool.request.om=org.apache.turbine.om.OMTool
# tool.request.intake=org.apache.turbine.services.intake.IntakeTool
+# The UI Manager will allow you to skin your Turbine application using simple
+# properties files that are located in the WEBAPP/resources/ directory
+# hierarchy.
+
tool.global.ui=org.apache.turbine.services.pull.util.UIManager
-# The UI Manager will allow you to skin your Turbine
-# application using simple properties files that are
-# located in the WEBAPP/resources/ui/skins/ directory
-# hierarchy.
+# Path to the UI resources, relative to the resources directory defined above
+#tool.ui.dir.skin=/ui/skins
-tool.ui.skin=default
+# Path to the images of a skin, relative to the skin directory defined above
+#tool.ui.dir.image=/images
+# Default CSS file for a skin
+#tool.ui.css=skin.css
+
+# Default skin name
+#tool.ui.skin=default
+
+#
+# The ui tool normally returns absolute URIs.
+# Setting this property to true allows you to change the behaviour if you
+# want only relative URIs (e.g. if you run behind a reverse proxy or a load
+# balancer).
+#tool.ui.want.relative=false
+
# -------------------------------------------------------------------
#
# V E L O C I T Y S E R V I C E
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]