Files
ofbiz-framework/specialpurpose/googlecheckout/widget/GoogleCheckoutScreens.xml
T
Ashish Vijaywargiya daeebc1c8d Following things are included in this commit.
1) Added the UI's for the configuration entities introduced in previous commit.
This will help to avoid the restarting of server. (Previously values were maintained in the property files) 

2) Renamed those two configuration entities to more closely follow the GoogleCheckout naming pattern.
The idea behind renaming of entity is that in future we can have other feature coming from Google so at that time GoogleConfiguration entity will be bit confusing.IMO this entities are introduced before few days(1 or 2 days) and I am sure no one is using these entities in Production so we will be safe by this change in the initial phase of google checkout.

Thanks to myself :)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780501 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 20:16:04 +00:00

181 lines
8.2 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/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>