| <?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="ProductsExportToGoogle" type="single" target="searchExportProductListToGoogle" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="productStoreId"><hidden/></field> |
| <field name="selectResult"><hidden/></field> |
| <field name="countryCode" tooltip="${uiLabelMap.GoogleBaseExportCountryCode}"> |
| <drop-down no-current-selected-key="US"> |
| <option key="US" description="${uiLabelMap.GoogleBaseExportCountryCodeUS}"/> |
| <option key="GB" description="${uiLabelMap.GoogleBaseExportCountryCodeGB}"/> |
| <option key="DE" description="${uiLabelMap.GoogleBaseExportCountryCodeDE}"/> |
| <option key="IT" description="${uiLabelMap.GoogleBaseExportCountryCodeIT}"/> |
| </drop-down> |
| </field> |
| <field name="webSiteUrl"><text size="50" maxlength="250" default-value="${webSiteUrl}"/></field> |
| <field name="webSiteMountPoint"><text size="30" maxlength="30" default-value="ecommerce"/></field> |
| <field name="actionType"> |
| <drop-down no-current-selected-key="insert"> |
| <option key="insert" description="${uiLabelMap.CommonInsert}"/> |
| <option key="update" description="${uiLabelMap.CommonUpdate}"/> |
| <option key="delete" description="${uiLabelMap.CommonDelete}"/> |
| </drop-down> |
| </field> |
| <field name="statusId"> |
| <drop-down no-current-selected-key="draft"> |
| <!-- |
| <option key="deactivate" description="${uiLabelMap.GoogleBaseExportDeactivated}"/> |
| --> |
| <option key="draft" description="${uiLabelMap.GoogleBaseExportPublishDraft}"/> |
| <option key="publish" description="${uiLabelMap.GoogleBaseExportPublish}"/> |
| </drop-down> |
| </field> |
| <field name="testMode" tooltip="${uiLabelMap.GoogleBaseExportTestMode}"> |
| <drop-down no-current-selected-key="N"> |
| <option key="N" description="${uiLabelMap.CommonNo}"/> |
| <option key="Y" description="${uiLabelMap.CommonYes}"/> |
| </drop-down> |
| </field> |
| <field name="trackingCodeId"> |
| <drop-down no-current-selected-key="_NA_"> |
| <option key="_NA_" description="${uiLabelMap.GoogleBaseExportNoTrackingRequested}"/> |
| <entity-options entity-name="TrackingCode" description="${description}"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="submitButton" title="${uiLabelMap.GoogleBaseExportToGoogle}"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="ListGoogleBaseConfigs" type="list" list-name="googleBaseConfigs" target="updateGoogleBaseConfig" |
| odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> |
| <actions> |
| <entity-condition entity-name="GoogleBaseConfig"> |
| <order-by field-name="productStoreId"/> |
| </entity-condition> |
| </actions> |
| <auto-fields-service service-name="updateGoogleBaseConfig"/> |
| <field name="productStoreId"><display/></field> |
| <field name="deleteGoogleBaseConfig" title="" widget-style="buttontext"> |
| <hyperlink target="deleteGoogleBaseConfig" description="${uiLabelMap.CommonDelete}" also-hidden="false"> |
| <parameter param-name="productStoreId"/> |
| </hyperlink> |
| </field> |
| <field name="accountPassword"><password/></field> |
| <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="AddGoogleBaseConfig" type="single" target="createGoogleBaseConfig" title=""> |
| <auto-fields-service service-name="createGoogleBaseConfig"/> |
| <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="accountPassword"><password/></field> |
| <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field> |
| </form> |
| |
| </forms> |