svn commit: r920589 - /ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r920589 - /ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml

lektran
Author: lektran
Date: Tue Mar  9 00:27:19 2010
New Revision: 920589

URL: http://svn.apache.org/viewvc?rev=920589&view=rev
Log:
Fix a problem reported by Hans Bakker, FreeMarker templates loaded using the Configuration object don't have access to the component:// notation reader and this causes them to fail because all templates now attempt to retrieve the html form macro library using that notation.  This is a quick fix but we should really fix the FreeMarkerViewHandler to load templates via the FreeMarkerWorker.

Modified:
    ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml

Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml?rev=920589&r1=920588&r2=920589&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml Tue Mar  9 00:27:19 2010
@@ -529,8 +529,8 @@
 
     <!-- View Mappings -->
     <view-map name="main" type="screen" page="component://webtools/widget/CommonScreens.xml#main"/>
-    <view-map name="ping" type="ftl" page="/ping.ftl"/>
-    <view-map name="showDateTime" type="ftl" page="/showDateTime.ftl"/>
+    <view-map name="ping" type="ftl" page="component://webtools/webapp/webtools/ping.ftl"/>
+    <view-map name="showDateTime" type="ftl" page="component://webtools/webapp/webtools/showDateTime.ftl"/>
 
     <view-map name="entityref" type="screen" page="component://webtools/widget/EntityScreens.xml#EntityRef"/>
     <view-map name="entityref_list" type="screen" page="component://webtools/widget/EntityScreens.xml#EntityRefList"/>