Files
ofbiz-framework/specialpurpose/googlebase/widget/GoogleBaseForms.xml
T
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00

102 lines
5.3 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.
-->
<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" 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>