blob: 3d1cd12b3c135461dfe76e27c928c55e977fbe89 [file] [log] [blame]
<?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.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd">
<screen name="CommonOrderEntryDecorator">
<section>
<actions>
<set field="headerItem" value="orderentry"/>
<script location="component://order/src/main/groovy/org/apache/ofbiz/order/entry/SetShoppingCart.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="pre-body">
<include-menu name="MainActionMenu" location="${parameters.mainMenuLocation}"/>
</decorator-section>
<decorator-section name="left-column">
<include-screen name="leftbar"/>
</decorator-section>
<decorator-section name="body">
<section>
<widgets>
<platform-specific>
<html><html-template location="component://order/template/entry/OrderEntryTabBar.ftl"/></html>
</platform-specific>
<decorator-section-include name="body"/>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="CommonOrderCatalogDecorator">
<section>
<actions>
<set field="headerItem" value="orderentry"/>
<script location="component://order/src/main/groovy/org/apache/ofbiz/order/entry/SetShoppingCart.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="left-column">
<include-screen name="leftbarCatalog"/>
</decorator-section>
<decorator-section name="body">
<section>
<widgets>
<container style="screenlet">
<platform-specific>
<html><html-template location="component://order/template/entry/OrderEntryCatalogTabBar.ftl"/></html>
</platform-specific>
<container style="screenlet-body">
<decorator-section-include name="body"/>
</container>
</container>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="leftbar">
<section>
<widgets>
<include-screen name="orderHeaderInfo" location="component://order/widget/ordermgr/OrderEntryCartScreens.xml"/>
<include-screen name="orderShortcuts" location="component://order/widget/ordermgr/OrderEntryCartScreens.xml"/>
<include-screen name="choosecatalog" location="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml"/>
<include-screen name="keywordsearchbox" location="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml"/>
<include-screen name="sidedeepcategory" location="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml"/>
<include-screen name="compareproductslist" location="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml"/>
</widgets>
</section>
</screen>
<screen name="leftbarCatalog">
<section>
<widgets>
<include-screen name="orderHeaderInfo" location="component://order/widget/ordermgr/OrderEntryCartScreens.xml"/>
<include-screen name="minicart" location="component://order/widget/ordermgr/OrderEntryCartScreens.xml"/>
<include-screen name="sidedeepcategory" location="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml"/>
<include-screen name="compareproductslist" location="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml"/>
</widgets>
</section>
</screen>
</screens>