| <?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" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd"> |
| |
| <!-- Included Screens --> |
| <screen name="minicart"> |
| <section> |
| <actions> |
| <set field="hidetoplinks" value="Y"/> |
| <set field="hidebottomlinks" value="Y"/> |
| </actions> |
| <widgets> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/minicart.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="promoUseDetailsInline"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/promoUseDetailsInline.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="orderHeaderInfo"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/orderHeaderInfo.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="orderShortcuts"> |
| <section> |
| <actions> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShoppingList.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/orderShortcuts.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| |
| <!-- =========== Top-Level and Stand-Alone Screens =========== --> |
| <screen name="ShowCart"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleOrderShowCart"/> |
| <set field="productsummaryScreen" value="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#productsummary"/> |
| <property-to-field resource="order" property="orderPreference.giftEnable" field="giftEnable" default="Y"/> |
| <set field="promoUseDetailsInlineScreen" value="component://order/widget/ordermgr/OrderEntryCartScreens.xml#promoUseDetailsInline"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShowCart.groovy"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShowPromoText.groovy"/> |
| <entity-condition entity-name="ProductStorePromoAndAppl" list="allProductPromos" filter-by-date="true"> |
| <condition-list combine="and"> |
| <condition-expr field-name="manualOnly" value="Y"/> |
| <condition-expr field-name="productStoreId" from-field="productStoreId"/> |
| </condition-list> |
| <order-by field-name="productPromoId"/> |
| </entity-condition> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderEntryDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/javascript.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/showcart.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/addItemsToShoppingList.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/showcartitems.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/promoCodes.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/manualPromotions.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/promoText.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/associatedProducts.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/promotionsApplied.ftl"/></html></platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="survey"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleOrderShowCart"/> |
| <set field="productsummaryScreen" value="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#productsummary"/> |
| <set field="promoUseDetailsInlineScreen" value="component://order/widget/ordermgr/OrderEntryCartScreens.xml#promoUseDetailsInline"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShowCart.groovy"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShowPromoText.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderEntryDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/survey.ftl"/></html></platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="showAllPromotions"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleShowAllPromotions"/> |
| <set field="promoUseDetailsInlineScreen" value="component://order/widget/ordermgr/OrderEntryCartScreens.xml#promoUseDetailsInline"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShowCart.groovy"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShowPromoText.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderEntryDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/showAllPromotions.ftl"/></html></platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="showPromotionDetails"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleShowPromotionDetails"/> |
| <set field="productsummaryScreen" value="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#productsummary"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/cart/ShowPromotionDetails.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderEntryDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <include-screen name="promotion"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="promotion"> |
| <section> |
| <condition> |
| <not><if-empty field="productPromo"/></not> |
| </condition> |
| <widgets> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/promotiondetails.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/promotioncategories.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/promotionproducts.ftl"/></html></platform-specific> |
| </widgets> |
| <fail-widgets> |
| <label text="${uiLabelMap.OrderErrorNoPromotionFoundWithID} [${productPromoId?if_exists}]" style="h2"/> |
| </fail-widgets> |
| </section> |
| </screen> |
| <screen name="LookupBulkAddProducts"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleLookupBulkAddProduct"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/cart/LookupBulkAddProducts.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderCatalogDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <include-form name="LookupBulkAddProducts" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="LookupBulkAddSupplierProducts"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleLookupBulkAddSupplierProduct"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/cart/LookupBulkAddSupplierProducts.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderCatalogDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <include-form name="LookupBulkAddSupplierProducts" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="AddGiftCertificate"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="OrderAddGiftCertificate"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/AddGiftCertificates.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderCatalogDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <platform-specific><html> |
| <html-template location="component://order/webapp/ordermgr/order/GiftCertificates.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="LookupAssociatedProducts"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="OrderAssociatedProducts"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/lookup/LookupAssociatedProducts.groovy"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderCatalogDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <include-form name="LookupAssociatedProducts" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| </screens> |