Files
ofbiz-framework/applications/content/widget/website/WebAnalyticsForms.xml
T
Jacques Le Roux fd24cdde33 Fixed: UiLabel is missing for Web Analytics Type on content component
(OFBIZ-11170)

Steps to reproduce
content/control/EditWebAnalyticsConfig?webSiteId=WebStoreClone
On that Web Analytics Type UiLabel is missing.

Thanks: Rahul Marjiwe

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1865883 13f79535-47bb-0310-9956-ffa450edef68
2019-08-25 09:48:31 +00:00

78 lines
4.8 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"
xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
<form name="ListWebAnalyticsConfig" type="list" list-name="listIt" paginate-target="FindWebAnalyticsConfigs" default-entity-name="WebAnalyticsConfig" separate-columns="true"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
<actions>
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="webAnalyticsConfigCtx"/>
<field-map field-name="entityName" value="WebAnalyticsConfig"/>
<field-map field-name="orderBy" from-field="parameters.sortField"/>
<field-map field-name="viewIndex" from-field="viewIndex"/>
<field-map field-name="viewSize" from-field="viewSize"/>
</service>
</actions>
<auto-fields-entity entity-name="WebAnalyticsConfig" default-field-type="display"/>
<field name="webAnalyticsTypeId" title="${uiLabelMap.CommonType}">
<display-entity entity-name="WebAnalyticsType" description="${description} [${webAnalyticsTypeId}]"/>
</field>
<field name="webAnalyticsCode">
<hyperlink description="${webAnalyticsCode}" target="EditWebAnalyticsConfig">
<parameter param-name="productStoreId"/>
<parameter param-name="webAnalyticsTypeId"/>
<parameter param-name="webSiteId"/>
</hyperlink>
</field>
<field name="webSiteId"><hidden value="${webSiteId}"/></field>
<field name="removeButton" title="${uiLabelMap.CommonRemove}" widget-style="buttontext">
<hyperlink description="${uiLabelMap.CommonRemove}" target="deleteWebAnalyticsConfig">
<parameter param-name="webSiteId"/>
<parameter param-name="webAnalyticsTypeId"/>
</hyperlink>
</field>
</form>
<form name="EditWebAnalyticsConfig" type="single" target="updateWebAnalyticsConfig" title="" default-map-name="webAnalyticsConfig"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="webAnalyticsConfig==null" target="createWebAnalyticsConfig"/>
<auto-fields-service service-name="updateWebAnalyticsConfig" map-name="webAnalyticsConfig"/>
<field use-when="webAnalyticsConfig!=null" name="webAnalyticsTypeId" title="${uiLabelMap.CatalogWebAnalyticsTypes}">
<display-entity entity-name="WebAnalyticsType"/>
</field>
<field use-when="webAnalyticsConfig==null&amp;&amp;webAnalyticsTypeId==null" name="webAnalyticsTypeId" title="${uiLabelMap.CatalogWebAnalyticsTypes}">
<drop-down allow-empty="false">
<entity-options entity-name="WebAnalyticsType">
<entity-order-by field-name="webAnalyticsTypeId"/>
</entity-options>
</drop-down>
</field>
<field use-when="webAnalyticsConfig==null&amp;&amp;webAnalyticsTypeId!=null" name="webAnalyticsTypeId" title="${uiLabelMap.CatalogWebAnalyticsTypes}" tooltip="${uiLabelMap.CommonCannotBeFound}:[${webAnalyticsTypeId}]">
<text size="20" maxlength="20"/>
</field>
<field name="webSiteId" title="${uiLabelMap.CommonWebsite}"><hidden value="${parameters.webSiteId}"/></field>
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
<field use-when="webAnalyticsConfig!=null" name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field use-when="webAnalyticsConfig==null" name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
</forms>