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

erwan
Author: erwan
Date: Fri Aug 20 15:49:46 2010
New Revision: 987555

URL: http://svn.apache.org/viewvc?rev=987555&view=rev
Log:
Refactoring on Example controller to include the Birt's one

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=987555&r1=987554&r2=987555&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml Fri Aug 20 15:49:46 2010
@@ -25,6 +25,7 @@ under the License.
          elements found in the common-controller.xml file. -->
     <include location="component://common/webcommon/WEB-INF/common-controller.xml"/>
     <include location="component://common/webcommon/WEB-INF/portal-controller.xml"/>
+    <include location="component://example/webapp/birt/WEB-INF/controller.xml"/>
 
     <description>Example Component Site Configuration File</description>
     
@@ -222,24 +223,8 @@ under the License.
         <security https="true" auth="true"/>
         <response name="success" type="view" value="BirtMain"/>
     </request-map>
-    <request-map uri="Report">
-        <security https="true" auth="true"/>
-        <response name="success" type="view" value="Report"/>
-    </request-map>
-    <request-map uri="Mail">
-        <security https="true" auth="true"/>
-        <response name="success" type="view" value="Mail"/>
-    </request-map>
-    <request-map uri="sendBirtMail">
-        <security https="true" auth="true"/>
-        <event type="service" invoke="sendBirtMail"/>
-        <response name="success" type="view" value="Mail"/>
-        <response name="error" type="view" value="Mail"/>
-    </request-map>
-    <request-map uri="ViewHandler">
-        <security https="true" auth="true"/>
-        <response name="success" type="view" value="ViewHandler"/>
-    </request-map>
+
+    <!--flotr example requests-->
     <request-map uri="ExampleBarChart">
         <security https="true" auth="true"/>
         <response name="success" type="view" value="ExampleBarChart"/>
@@ -288,9 +273,6 @@ under the License.
 
     <!-- Birt example View Mappings -->
     <view-map name="BirtMain" type="screen" page="component://example/widget/example/BirtScreens.xml#main"/>
-    <view-map name="Report" type="screen" page="component://example/widget/example/BirtScreens.xml#Report"/>
-    <view-map name="Mail" type="screen" page="component://example/widget/example/BirtScreens.xml#EditMail"/>
-    <view-map name="ViewHandler" type="birt" page="component://example/webapp/birt/report/example.rptdesign" content-type="application/pdf"/>
 
     <!-- Flotr view mapping -->
     <view-map name="ExampleBarChart" page="component://example/widget/example/ExampleScreens.xml#ExampleBarChart" type="screen"/>