| <?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"> |
| |
| <!-- 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/template/entry/cart/MiniCart.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="promoUseDetailsInline"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://order/template/entry/cart/PromoUseDetailsInline.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="orderHeaderInfo"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://order/template/entry/OrderHeaderInfo.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="orderShortcuts"> |
| <section> |
| <actions> |
| <script location="component://order/src/main/groovy/org/apache/ofbiz/order/entry/ShoppingList.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific><html><html-template location="component://order/template/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/src/main/groovy/org/apache/ofbiz/order/entry/ShowCart.groovy"/> |
| <script location="component://order/src/main/groovy/org/apache/ofbiz/order/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> |
| <set field="helpAnchor" value="_add_items_to_cart"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderEntryDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <platform-specific><html><html-template multi-block="true" location="component://order/template/entry/cart/Javascript.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template multi-block="true" location="component://order/template/entry/cart/ShowCart.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/template/entry/cart/AddItemsToShoppingList.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/template/entry/cart/ShowCartItems.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/template/entry/cart/PromoCodes.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/template/entry/cart/ManualPromotions.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/template/entry/cart/PromoText.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/template/entry/cart/AssociatedProducts.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/template/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/src/main/groovy/org/apache/ofbiz/order/entry/ShowCart.groovy"/> |
| <script location="component://order/src/main/groovy/org/apache/ofbiz/order/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/template/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/src/main/groovy/org/apache/ofbiz/order/entry/ShowCart.groovy"/> |
| <script location="component://order/src/main/groovy/org/apache/ofbiz/order/entry/ShowPromoText.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/template/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/src/main/groovy/org/apache/ofbiz/order/entry/cart/ShowPromotionDetails.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderCatalogDecorator" 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/template/entry/cart/PromotionDetails.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/template/entry/cart/PromotionCategories.ftl"/></html></platform-specific> |
| <platform-specific><html><html-template location="component://order/template/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"/> |
| <set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| <script location="component://order/src/main/groovy/org/apache/ofbiz/order/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/src/main/groovy/org/apache/ofbiz/order/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/src/main/groovy/org/apache/ofbiz/order/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/template/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/src/main/groovy/org/apache/ofbiz/order/lookup/LookupAssociatedProducts.groovy"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/> |
| <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> |