Author: thorsten
Date: Sat Sep 13 12:51:31 2008
New Revision: 695016
URL: http://svn.apache.org/viewvc?rev=695016&view=rev
Log:
FOR-1105 Make locationmap more intuitive configurable
Using lm:themer.project.dir (a configurable location) which for default point
to {properties:home}/themes instead the direct path to the same locattion.
Contributed by: Pablo Barrera
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml?rev=695016&r1=695015&r2=695016&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
Sat Sep 13 12:51:31 2008
@@ -239,10 +239,10 @@
<match pattern="resolve.panels.**">
<select type="exists">
<location
-
src="{properties:resources}/themes/{properties:dispatcher.theme}/panels/{1}{properties:dispatcher.panel-ext}"
+
src="{lm:themer.project.dir}/{properties:dispatcher.theme}/panels/{1}{properties:dispatcher.panel-ext}"
/>
<location
-
src="{properties:resources}/themes/{properties:dispatcher.fallback.theme}/panels/{1}{properties:dispatcher.panel-ext}"
+
src="{lm:themer.project.dir}/{properties:dispatcher.fallback.theme}/panels/{1}{properties:dispatcher.panel-ext}"
/>
<!-- plugin provided panels -->
<location src="{lm:resolvePluginPanels.{1}}" />