Thomas Vandahl <[EMAIL PROTECTED]> writes:
>--------------000006040203000807000204
>Content-Type: text/plain; charset=us-ascii; format=flowed
>Content-Transfer-Encoding: 7bit
>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.
They are fine, just applied them. I didn't know that Tortoise could do
that. Cool, so I now have a tool that I can point Windows users
at. :-)
Minor nit: please create the diffs directly above the actual directory
tree; in this case in the 'branches' directory. Else I have to apply
the patches with -p5 (and must count the numbers of directories to
omit. :-) )
The whole UIManager is unfortunately pretty underdocumented. It would
be great if you or someone else that is working with it every day
could create a small howto. If you are not familiar with xdoc (or
don't like the format), just write it in plain text and send it to the
dev list, I'll convert it to xdoc.
Best regards
Henning
>Bye, Thomas.
>--------------000006040203000807000204
>Content-Type: text/plain;
> name="uimanager-docs-patch.diff"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline;
> filename="uimanager-docs-patch.diff"
>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
>--------------000006040203000807000204
>Content-Type: text/plain; charset=us-ascii
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>--------------000006040203000807000204--
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire
Linux, Java, perl, Solaris -- Consulting, Training, Development
4 - 8 - 15 - 16 - 23 - 42
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]