git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1752920 13f79535-47bb-0310-9956-ffa450edef68
70 lines
4.1 KiB
XML
70 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://ofbiz.apache.org/Site-Conf" xsi:schemaLocation="http://ofbiz.apache.org/Site-Conf http://ofbiz.apache.org/dtds/site-conf.xsd">
|
|
<include location="component://product/webapp/facility/WEB-INF/controller.xml"/>
|
|
|
|
<description>Extended Facility Manager Controller Configuration File</description>
|
|
|
|
<handler name="birt" type="view" class="org.apache.ofbiz.birt.webapp.view.BirtViewHandler"/>
|
|
|
|
<request-map uri="ViewFacilityInventoryHistoryReport">
|
|
<security https="true" auth="true"/>
|
|
<response name="success" type="view" value="ViewFacilityInventoryHistoryReport"/>
|
|
</request-map>
|
|
|
|
<request-map uri="RenderInventoryReportHtml">
|
|
<security https="true" auth="true"/>
|
|
<event type="groovy" path="component://birt/groovyScripts/facility/InventoryItemReport.groovy"/>
|
|
<response name="success" type="view" value="RenderInventoryReportHtml"/>
|
|
</request-map>
|
|
<request-map uri="RenderInventoryReportPDF">
|
|
<security https="true" auth="true"/>
|
|
<event type="groovy" path="component://birt/groovyScripts/facility/InventoryItemReport.groovy"/>
|
|
<response name="success" type="view" value="RenderInventoryReportPDF"/>
|
|
</request-map>
|
|
<request-map uri="RenderInventoryReportExcel">
|
|
<security https="true" auth="true"/>
|
|
<event type="groovy" path="component://birt/groovyScripts/facility/InventoryItemReport.groovy"/>
|
|
<response name="success" type="view" value="RenderInventoryReportExcel"/>
|
|
</request-map>
|
|
<request-map uri="RenderInventoryReportMSWord">
|
|
<security https="true" auth="true"/>
|
|
<event type="groovy" path="component://birt/groovyScripts/facility/InventoryItemReport.groovy"/>
|
|
<response name="success" type="view" value="RenderInventoryReportMSWord"/>
|
|
</request-map>
|
|
<request-map uri="RenderInventoryReportPPT">
|
|
<security https="true" auth="true"/>
|
|
<event type="groovy" path="component://birt/groovyScripts/facility/InventoryItemReport.groovy"/>
|
|
<response name="success" type="view" value="RenderInventoryReportPPT"/>
|
|
</request-map>
|
|
|
|
<view-map name="InventoryReports" type="screen" page="component://birt/widget/facility/FacilityScreens.xml#InventoryReports"/>
|
|
<view-map name="ViewFacilityInventoryHistoryReport" type="screen" page="component://birt/widget/facility/FacilityScreens.xml#ViewFacilityInventoryHistoryReport"/>
|
|
<!-- Export Report -->
|
|
<view-map name="RenderInventoryReportHtml" type="birt" page="component://birt/webapp/facility/inventory/report/InventoryReport.rptdesign" content-type="text/html"/>
|
|
<view-map name="RenderInventoryReportPDF" type="birt" page="component://birt/webapp/facility/inventory/report/InventoryReport.rptdesign" content-type="application/pdf"/>
|
|
<view-map name="RenderInventoryReportExcel" type="birt" page="component://birt/webapp/facility/inventory/report/InventoryReport.rptdesign" content-type="application/vnd.ms-excel"/>
|
|
<view-map name="RenderInventoryReportMSWord" type="birt" page="component://birt/webapp/facility/inventory/report/InventoryReport.rptdesign" content-type="application/vnd.ms-word"/>
|
|
<view-map name="RenderInventoryReportPPT" type="birt" page="component://birt/webapp/facility/inventory/report/InventoryReport.rptdesign" content-type="application/vnd.ms-powerpoint"/>
|
|
|
|
</site-conf>
|