| <?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. |
| --> |
| |
| <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> |
| |
| <form name="ListGoogleCheckoutConfigurations" type="list" list-name="googleCheckoutConfigurations" target="updateGoogleCheckoutConfiguration" |
| odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> |
| <actions> |
| <entity-condition entity-name="GoogleCoConfiguration"> |
| <order-by field-name="productStoreId"/> |
| </entity-condition> |
| </actions> |
| <auto-fields-service service-name="updateGoogleCheckoutConfiguration"/> |
| <field name="productStoreId"><display/></field> |
| <field name="envEnumId"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${description}" entity-name="Enumeration" key-field-name="enumId"> |
| <entity-constraint name="enumTypeId" operator="equals" value="GOOGLE_ENV_TYPE"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="webSiteId"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${siteName}" entity-name="WebSite"> |
| <entity-order-by field-name="siteName"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="prodCatalogId"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${catalogName}" entity-name="ProdCatalog"> |
| <entity-order-by field-name="catalogName"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> |
| <drop-down allow-empty="true"> |
| <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> |
| <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> |
| <entity-order-by field-name="abbreviation"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="deleteGoogleCheckoutConfiguration" title="" widget-style="buttontext"> |
| <hyperlink target="deleteGoogleCheckoutConfiguration" description="${uiLabelMap.CommonDelete}" also-hidden="false"> |
| <parameter param-name="productStoreId"/> |
| </hyperlink> |
| </field> |
| <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="AddGoogleCheckoutConfiguration" type="single" target="createGoogleCheckoutConfiguration" title=""> |
| <auto-fields-service service-name="createGoogleCheckoutConfiguration"/> |
| <field name="productStoreId"> |
| <drop-down allow-empty="false"> |
| <option key="" description="- ${uiLabelMap.CommonSelectAny} -"/> |
| <entity-options entity-name="ProductStore" description="${storeName} [${productStoreId}]"> |
| <entity-order-by field-name="storeName"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="envEnumId"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${description}" entity-name="Enumeration" key-field-name="enumId"> |
| <entity-constraint name="enumTypeId" operator="equals" value="GOOGLE_ENV_TYPE"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="webSiteId"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${siteName}" entity-name="WebSite"> |
| <entity-order-by field-name="siteName"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="prodCatalogId"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${catalogName}" entity-name="ProdCatalog"> |
| <entity-order-by field-name="catalogName"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> |
| <drop-down allow-empty="true"> |
| <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> |
| <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> |
| <entity-order-by field-name="abbreviation"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="ListGoogleCheckoutShippingMethods" type="list" list-name="googleCheckoutShippingMethods" target="updateGoogleCheckoutShippingMethod" |
| odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> |
| <actions> |
| <entity-condition entity-name="GoogleCoShippingMethod"> |
| <order-by field-name="shipmentMethodName"/> |
| <order-by field-name="productStoreId"/> |
| </entity-condition> |
| </actions> |
| <auto-fields-service service-name="updateGoogleCheckoutShippingMethod"/> |
| <field name="productStoreId"><display/></field> |
| <field name="shipmentMethodName"><display/></field> |
| <field name="methodTypeEnumId"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${description}" entity-name="Enumeration" key-field-name="enumId"> |
| <entity-constraint name="enumTypeId" operator="equals" value="GOOGLE_SHIP_TYPE"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="carrierPartyId"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="shipmentMethodTypeId"> |
| <drop-down current="selected" allow-empty="false"> |
| <entity-options entity-name="ShipmentMethodType" key-field-name="shipmentMethodTypeId" description="${description}"/> |
| </drop-down> |
| </field> |
| <field name="deleteGoogleCheckoutShippingMethod" title="" widget-style="buttontext"> |
| <hyperlink target="deleteGoogleCheckoutShippingMethod" description="${uiLabelMap.CommonDelete}" also-hidden="false"> |
| <parameter param-name="shipmentMethodName"/> |
| <parameter param-name="productStoreId"/> |
| </hyperlink> |
| </field> |
| <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="AddGoogleCheckoutShippingMethod" type="single" target="createGoogleCheckoutShippingMethod" title=""> |
| <auto-fields-service service-name="createGoogleCheckoutShippingMethod"/> |
| <field name="methodTypeEnumId"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${description}" entity-name="Enumeration" key-field-name="enumId"> |
| <entity-constraint name="enumTypeId" operator="equals" value="GOOGLE_SHIP_TYPE"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="productStoreId"> |
| <drop-down allow-empty="false"> |
| <option key="" description="- ${uiLabelMap.CommonSelectAny} -"/> |
| <entity-options entity-name="ProductStore" description="${storeName} [${productStoreId}]"> |
| <entity-order-by field-name="storeName"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="carrierPartyId"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="shipmentMethodTypeId"> |
| <drop-down current="selected" allow-empty="false"> |
| <entity-options entity-name="ShipmentMethodType" description="${description}"/> |
| </drop-down> |
| </field> |
| <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field> |
| </form> |
| </forms> |