git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1745491 13f79535-47bb-0310-9956-ffa450edef68
181 lines
7.9 KiB
XML
181 lines
7.9 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.
|
|
-->
|
|
|
|
<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/template/CheckoutShoppingCart.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="shoppingCart">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://googlecheckout/template/ShoppingCart.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="checkoutFlowSupport">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://googlecheckout/template/CheckoutFlowSupport.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="orderProcessingSupport">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://googlecheckout/template/OrderProcessingSupport.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="items">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://googlecheckout/template/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/template/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/template/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/template/checkoutFlowSupport/MerchantCalculations.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/template/checkoutFlowSupport/ShippingMethods.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="simpleFlow">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://googlecheckout/template/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/template/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/template/checkoutFlowSupport/RequestPhone.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="redirect">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://googlecheckout/template/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>
|