svn commit: r832688 - /ofbiz/trunk/framework/example/webapp/example/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: r832688 - /ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml

jleroux@apache.org
Author: jleroux
Date: Wed Nov  4 09:32:09 2009
New Revision: 832688

URL: http://svn.apache.org/viewvc?rev=832688&view=rev
Log:
A patch from Erwan de FERRIERES "help link in example is not working" (https://issues.apache.org/jira/browse/OFBIZ-3097) - OFBIZ-3097
Some entries in the controller.xml were missing, since the remove of the commonext include.

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

Modified: ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml?rev=832688&r1=832687&r2=832688&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml Wed Nov  4 09:32:09 2009
@@ -206,6 +206,10 @@
         <security https="true" auth="true"/>
         <response name="success" type="view" value="showHelp"/>
     </request-map>
+    <request-map uri="views">
+        <security https="true" auth="false"/>
+        <response name="success" type="request" value="main"/>
+    </request-map>
     <!-- end of request mappings -->
 
     <!-- View Mappings -->
@@ -232,5 +236,6 @@
     <view-map name="CreateExampleFormOnly" type="screen" page="component://example/widget/example/ExampleAjaxScreens.xml#CreateExampleFormOnly"/>
     <view-map name="printExampleFOPFonts" type="screenfop" page="component://example/widget/example/FormWidgetExampleScreens.xml#printExampleFOPFonts" content-type="application/pdf"  encoding="none"/>
     <view-map name="showHelp" type="screen" page="component://commonext/widget/HelpScreens.xml#ShowHelp"/>
+    <view-map name="ShowDocument" type="screen" page="component://commonext/widget/HelpScreens.xml#showDocument"/>
     <!-- end of view mappings -->
 </site-conf>