| <?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"> |
| |
| <screen name="CheckoutShoppingCart"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/CheckoutShoppingCart.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="shoppingCart"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/shoppingCart.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="checkoutFlowSupport"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="orderProcessingSupport"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/orderProcessingSupport.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="items"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/shoppingCart/items.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="expiration"> |
| <section> |
| <condition> |
| <not><if-empty field="googleCart.cartExpiration"/></not> |
| </condition> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/shoppingCart/expiration.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="privateData"> |
| <section> |
| <condition> |
| <not><if-empty field="googleCart.merchantPrivateData"/></not> |
| </condition> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/shoppingCart/privateData.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="merchantCalculations"> |
| <section> |
| <condition> |
| <not><if-empty field="merchantCalculations"/></not> |
| </condition> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/merchantCaluclations.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="shippingMethods"> |
| <section> |
| <condition> |
| <not><if-empty field="shippingMethods"/></not> |
| </condition> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/shippingMethods.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="simpleFlow"> |
| <section> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/simpleFlow.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="taxTables"> |
| <section> |
| <condition> |
| <not><if-empty field="flowSupport.taxTables"/></not> |
| </condition> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/taxTables.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="requestPhone"> |
| <section> |
| <condition> |
| <not><if-empty field="flowSupport.requestPhone"/></not> |
| </condition> |
| <widgets> |
| <platform-specific><html><html-template location="component://googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/requestPhone.ftl"/></html></platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="redirect"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://googlecheckout/webapp/googlecheckout/redirect/redirectHeader.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| |
| <!-- Google Checkout configuration screens --> |
| |
| <screen name="GoogleCheckoutConfigurations"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="GoogleCheckoutGoogleCheckoutConfiguration"/> |
| <set field="headerItem" value="GoogleCheckoutConfigurations"/> |
| <set field="productStoreId" from-field="parameters.productStoreId"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <include-form name="ListGoogleCheckoutConfigurations" location="component://googlecheckout/widget/GoogleCheckoutForms.xml"/> |
| <screenlet id="add-gc-configuration" title="${uiLabelMap.GoogleCheckoutAddGoogleCheckoutConfiguration}" collapsible="true"> |
| <include-form name="AddGoogleCheckoutConfiguration" location="component://googlecheckout/widget/GoogleCheckoutForms.xml"/> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="GoogleCheckoutShippingMethods"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="GoogleCheckoutGoogleCheckoutConfiguration"/> |
| <set field="headerItem" value="GoogleCheckoutShippingMethods"/> |
| <set field="productStoreId" from-field="parameters.productStoreId"/> |
| <set field="shipmentMethodName" from-field="parameters.shipmentMethodName"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <include-form name="ListGoogleCheckoutShippingMethods" location="component://googlecheckout/widget/GoogleCheckoutForms.xml"/> |
| <screenlet id="add-gc-shipping-method" title="${uiLabelMap.GoogleCheckoutAddGoogleCheckoutShippingMethod}" collapsible="true"> |
| <include-form name="AddGoogleCheckoutShippingMethod" location="component://googlecheckout/widget/GoogleCheckoutForms.xml"/> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| </screens> |