blob: ac09147c4fb7ba560368fc224c097e1a857d58b1 [file] [log] [blame]
<?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="EditProduct">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProduct"/>
<set field="tabButtonItem" value="EditProduct"/>
<set field="labelTitleProperty" value="ProductProduct"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProduct}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="EditProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<section>
<condition>
<and>
<not><if-empty field="productId"/></not>
<not><if-empty field="product"/></not>
</and>
</condition>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductDuplicateProduct}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="EditProductDup" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
</widgets>
</section>
<section>
<condition>
<and>
<not><if-empty field="productId"/></not>
<not><if-empty field="product"/></not>
</and>
</condition>
<widgets>
<section>
<condition>
<if-compare field="product.isVirtual" operator="equals" type="String" value="Y"/>
</condition>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductUpdateProductVariants}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="UpdateProductVariants" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
</widgets>
</section>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductPrices">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductPrices"/>
<set field="tabButtonItem" value="EditProductPrices"/>
<set field="labelTitleProperty" value="ProductPrices"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-and entity-name="ProductPrice" list="productPrices">
<field-map field-name="productId"/>
<order-by field-name="productStoreGroupId"/>
<order-by field-name="productPricePurposeId"/>
<order-by field-name="productPriceTypeId"/>
<order-by field-name="currencyUomId"/>
<order-by field-name="fromDate"/>
</entity-and>
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductPrices}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="UpdateProductPrice" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductPrices}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductPrice" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ViewProductAgreements">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap"/>
<set field="titleProperty" value="PageTitleViewProductAgreements"/>
<set field="tabButtonItem" value="ViewProductAgreements"/>
<set field="labelTitleProperty" value="ProductAgreements"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="SupplierProduct" list="supplierProductAgreements">
<condition-list>
<condition-expr field-name="productId" from-field="productId"/>
<condition-expr field-name="agreementId" operator="not-equals" from-field="nullField"/>
</condition-list>
<order-by field-name="availableFromDate"/>
</entity-condition>
<entity-and entity-name="AgreementItemAndProductAppl" list="salesAgreements">
<field-map field-name="productId"/>
<field-map field-name="agreementTypeId" value="SALES_AGREEMENT"/>
<order-by field-name="fromDate"/>
</entity-and>
<entity-and entity-name="AgreementItemAndProductAppl" list="productAgreements">
<field-map field-name="productId"/>
<field-map field-name="agreementTypeId" value="PRODUCT_AGREEMENT"/>
<order-by field-name="fromDate"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductPurchases}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListSupplierProductAgreements" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductSales}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListSalesAgreements" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductCommissions}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListProductAgreements" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductCategories">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductCategories"/>
<set field="tabButtonItem" value="EditProductCategories"/>
<set field="labelTitleProperty" value="ProductCategoryMembers"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="ProductCategoryMember" list="productCategoryMembers">
<condition-expr field-name="productId" from-field="productId"/>
<order-by field-name="sequenceNum"/>
<order-by field-name="productCategoryId"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductCategories}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="UpdateProductCategoryMemeber" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductCategories}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductCategoryMember" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductConfigs">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductConfigs"/>
<set field="tabButtonItem" value="EditProductConfigs"/>
<set field="labelTitleProperty" value="ProductConfigs"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-and entity-name="ProductConfig" list="productConfigs">
<field-map field-name="productId"/>
<order-by field-name="sequenceNum"/>
<order-by field-name="fromDate"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductConfigs}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="UpdateProductConfig" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductConfigs}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductConfig" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductAssetUsage"><!-- screen for rental parameters -->
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductAssetUsage"/>
<set field="tabButtonItem" value="EditProductAssetUsage"/>
<set field="labelTitleProperty" value="ProductAssetUsage"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="FixedAssetProduct" list="fixedAssetProducts">
<condition-expr field-name="productId" from-field="productId"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductAssetUsage}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="EditProductAssetUsage" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductAssetUsage}"/>
</container>
</container>
<container style="screenlet-body">
<container>
<link target="newFixedAssetProduct" text="${uiLabelMap.PageTitleCreateProductAssetUsage}" style="buttontext">
<parameter param-name="productId"/>
</link>
</container>
<section>
<widgets>
<include-form name="ListProductFixedAssets" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="showFixedAssetProduct"><!-- add a fixed asset -->
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductAssetUsage"/>
<set field="tabButtonItem" value="EditProductAssetUsage"/>
<set field="labelTitleProperty" value="ProductAssetUsage"/>
<set field="extraFunctionName" value="uiLabelMap.AccountingFixedAssetProductUpd"/>
<entity-one entity-name="FixedAssetProduct" value-field="fixedAssetProduct"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductAssetUsage}"/>
</container>
</container>
<container style="screenlet-body">
<container>
<link target="newFixedAssetProduct" text="${uiLabelMap.AccountingFixedAssetNew}" style="buttontext">
<parameter param-name="productId"/>
</link>
</container>
<section>
<widgets>
<include-form name="showFixedAssetProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="newFixedAssetProduct"><!-- add a fixed asset -->
<section>
<actions>
<set field="titleProperty" value="PageTitleAddProductAssetUsage"/>
<set field="tabButtonItem" value="EditProductAssetUsage"/>
<set field="labelTitleProperty" value="ProductAssetUsage"/>
<set field="extraFunctionName" value="uiLabelMap.AccountingFixedAssetProductAdd"/>
<set field="productId" from-field="parameters.productId"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductAssetUsage}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="addFixedAssetProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ViewProductManufacturing">
<section>
<actions>
<set field="titleProperty" value="PageTitleViewProductManufacturing"/>
<set field="tabButtonItem" value="ViewProductManufacturing"/>
<set field="labelTitleProperty" value="ProductManufacturing"/>
<set field="productId" from-field="parameters.productId"/>
<set field="productAssocTypeId" value="MANUF_COMPONENT"/>
<set field="workEffortGoodStdTypeId" value="ROU_PROD_TEMPLATE"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-and entity-name="ProductAssoc" list="components">
<field-map field-name="productId"/>
<field-map field-name="productAssocTypeId"/>
<order-by field-name="sequenceNum"/>
</entity-and>
<entity-and entity-name="ProductAssoc" list="parents">
<field-map from-field="productId" field-name="productIdTo"/>
<field-map field-name="productAssocTypeId"/>
</entity-and>
<entity-and entity-name="WorkEffortGoodStandard" list="routings">
<field-map field-name="productId"/>
<field-map field-name="workEffortGoodStdTypeId"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<!--<include-form name="UpdateProductPrice" location="component://product/webapp/catalog/product/ProductForms.xml"/>-->
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductRoutings}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListProductRoutings" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container><label style="h2">${uiLabelMap.ProductLowLevelCode}: ${product.billOfMaterialLevel}</label></container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductComponents}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListProductComponents" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductParent}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListProductParents" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductCosts">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductCosts"/>
<set field="tabButtonItem" value="EditProductCosts"/>
<set field="labelTitleProperty" value="ProductCosts"/>
<set field="productId" from-field="parameters.productId"/>
<set field="productCostComponentId" from-field="parameters.productCostComponentId"/>
<!-- default currency in framework/common/config/general.properties -->
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-one entity-name="CostComponent" value-field="costComponent" auto-field-map="false">
<field-map field-name="costComponentId" from-field="productCostComponentId"/>
</entity-one>
<!--<entity-and entity-name="CostComponent" list-name="costs" filter-by-date="true">-->
<entity-and entity-name="CostComponent" list="costs">
<field-map field-name="productId"/>
<order-by field-name="-fromDate"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductCosts}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListCostComponents" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductAddCostComponent}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="EditCostComponent" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductAutoCreateCosts}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="CalculateProductCosts" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="QuickAddVariants">
<section>
<actions>
<set field="titleProperty" value="PageTitleQuickAddProductVariants"/>
<set field="tabButtonItem" value="QuickAddVariants"/>
<set field="labelTitleProperty" value="ProductQuickAddVariants"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/QuickAddVariants.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductQuickAdmin}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/QuickAddVariants.ftl"/></html>
</platform-specific>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductQuickAdmin">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductQuickAdmin"/>
<set field="tabButtonItem" value="EditProductQuickAdmin"/>
<set field="labelTitleProperty" value="ProductQuickAdmin"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/EditProductQuickAdmin.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/EditProductQuickAdmin.ftl"/></html>
</platform-specific>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductFacilities">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductFacilities"/>
<set field="tabButtonItem" value="EditProductFacilities"/>
<set field="labelTitleProperty" value="ProductFacilities"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="ProductFacility" list="productFacilities">
<condition-expr field-name="productId" from-field="productId"/>
<order-by field-name="facilityId"/>
</entity-condition>
<entity-condition entity-name="Facility" list="facilities">
<order-by field-name="facilityName"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductFacilities}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="UpdateProductFacilities" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductAddFacility}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductFacility" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductFacilityLocations">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductFacilityLocations"/>
<set field="tabButtonItem" value="EditProductFacilityLocations"/>
<set field="labelTitleProperty" value="ProductFacilityLocations"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="ProductFacilityLocation" list="productFacilityLocations">
<condition-expr field-name="productId" from-field="productId"/>
<order-by field-name="facilityId"/>
<order-by field-name="locationSeqId"/>
</entity-condition>
<entity-condition entity-name="Facility" list="facilities">
<order-by field-name="facilityName"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductFacilityLocations}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="UpdateProductFacilityLocations" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.CommonAdd} ${uiLabelMap.ProductFacilityLocation}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductFacilityLocation" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductKeyword">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductKeywords"/>
<set field="tabButtonItem" value="EditProductKeyword"/>
<set field="labelTitleProperty" value="ProductKeywords"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<set field="orderByList[]" value="-relevancyWeight"/>
<set field="orderByList[]" value="keyword"/>
<get-related value-field="product" relation-name="ProductKeyword" list="productKeywords" order-by-list="orderByList"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container>
<link target="forceIndexProductKeywords" text="${uiLabelMap.ProductReInduceKeywords}" style="buttontext">
<parameter param-name="productId"/>
</link>
<link target="deleteProductKeywords" text="${uiLabelMap.ProductDeleteAllKeywords}" style="buttontext">
<parameter param-name="productId"/>
</link>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductAddProductKeyword}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductKeyword" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductKeywords}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="UpdateProductKeyword" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductInventoryItems">
<section>
<actions>
<property-map resource="OrderUiLabels" map-name="uiLabelMap"/>
<set field="titleProperty" value="PageTitleEditProductInventoryItems"/>
<set field="tabButtonItem" value="EditProductInventoryItems"/>
<set field="labelTitleProperty" value="ProductInventorySummary"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/EditProductInventoryItems.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<condition>
<if-compare field="product.isVirtual" operator="equals" type="String" value="Y"/>
</condition>
<widgets>
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/EditVirtualProductInventory.ftl"/></html>
</platform-specific>
</widgets>
<fail-widgets>
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/ProductInventorySummary.ftl"/></html>
</platform-specific>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductOutstandingPurchaseOrders}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="OutstandingPurchaseOrders" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/EditProductInventoryItems.ftl"/></html>
</platform-specific>
</fail-widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductGoodIdentifications">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductGoodIdentifications"/>
<set field="tabButtonItem" value="EditProductGoodIdentifications"/>
<set field="labelTitleProperty" value="ProductGoodIdentification"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="GoodIdentification" list="goodIdentifications">
<condition-expr field-name="productId" from-field="productId"/>
<order-by field-name="goodIdentificationTypeId"/>
<order-by field-name="idValue"/>
</entity-condition>
<entity-condition entity-name="GoodIdentificationType" list="goodIdentificationTypes" use-cache="true">
<order-by field-name="description"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductGoodIdentifications}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="UpdateProductGoodIdentifications" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleCreateProductGoodIdentifications}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductGoodIdentification" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductGlAccounts">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductGlAccounts"/>
<set field="tabButtonItem" value="EditProductGlAccounts"/>
<set field="labelTitleProperty" value="ProductGlAccounts"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="ProductGlAccount" list="productGlAccounts">
<condition-expr field-name="productId" from-field="productId"/>
<order-by field-name="glAccountTypeId"/>
</entity-condition>
<entity-condition entity-name="GlAccountType" list="productGlAccountTypes" use-cache="true">
<order-by field-name="description"/>
</entity-condition>
<entity-condition entity-name="GlAccount" list="glAccounts" use-cache="true">
<order-by field-name="accountCode"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductGlAccounts}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<condition>
<and>
<not><if-empty field="productId"/></not>
<not><if-empty field="product"/></not>
</and>
</condition>
<widgets>
<include-form name="ListProductGlAccounts" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductAddGlAccount}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<condition>
<and>
<not><if-empty field="productId"/></not>
<not><if-empty field="product"/></not>
</and>
</condition>
<widgets>
<include-form name="AddProductGlAccount" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductPaymentMethodTypes">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap"/>
<set field="titleProperty" value="PageTitleEditProductPaymentMethodType"/>
<set field="tabButtonItem" value="EditProductPaymentMethodTypes"/>
<set field="labelTitleProperty" value="ProductPaymentTypes"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="ProductPaymentMethodType" list="productPaymentMethodTypes">
<condition-expr field-name="productId" from-field="productId"/>
<order-by field-name="productPricePurposeId"/>
<order-by field-name="paymentMethodTypeId"/>
<order-by field-name="fromDate"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductPaymentMethodType}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="UpdateProductPaymentMethodType" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductPaymentMethodType}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductPaymentMethodType" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductFeatures">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductFeatures"/>
<set field="headerItem" value="product"/>
<set field="tabButtonItem" value="EditProductFeatures"/>
<set field="labelTitleProperty" value="ProductFeatures"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/EditProductFeatures.groovy"/>
<entity-and entity-name="ProductFeatureIactn" list="featureInteractions">
<field-map field-name="productId" from-field="parameters.productId"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container>
<section>
<widgets>
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/EditProductFeatures.ftl"/></html>
</platform-specific>
</widgets>
</section>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductListFeatureInteractions}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="ListFeatureInteractions" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductAddFeatureInteraction}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="AddFeatureInteraction" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductFeatureAttributes}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductFeatureApplAttr" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleListProductFeatureApplAttrs}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListProductFeatureApplAttrs" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditSupplierProduct">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditSupplierProduct"/>
<set field="tabButtonItem" value="EditSupplierProduct"/>
<set field="labelTitleProperty" value="ProductSuppliers"/>
<!-- default currency in framework/common/config/general.properties -->
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
<set field="productId" from-field="parameters.productId"/>
<set field="minimumOrderQuantity" from-field="parameters.minimumOrderQuantity" type="BigDecimal"/>
<set field="orderBy" from-field="parameters.orderBy" default-value="partyId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-and entity-name="SupplierProduct" list="productSuppliers">
<field-map field-name="productId"/>
<order-by field-name="${orderBy}"/>
</entity-and>
<entity-one entity-name="SupplierProduct" value-field="supplierProduct" auto-field-map="true"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditSupplierProduct}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListSupplierProducts" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<section>
<condition><not><if-empty field="supplierProduct"/></not></condition>
<widgets>
<link target="EditProductSuppliers" style="buttontext" text="${uiLabelMap.ProductNewProductSupplier}">
<parameter param-name="productId"/>
</link>
</widgets>
</section>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductSupplier}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddSupplierProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductContent">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductContent"/>
<set field="tabButtonItem" value="EditProductContent"/>
<set field="labelTitleProperty" value="ProductContent"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/EditProductContent.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductContent}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListProductContentInfos" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductCreateNewProductContent}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="PrepareAddProductContentAssoc" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductAddContentProduct}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductContentAssoc" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductOverrideSimpleFields}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/EditProductContent.ftl"/></html>
</platform-specific>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductContentContent">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductContent"/>
<set field="tabButtonItem" value="EditProductContent"/>
<set field="labelTitleProperty" value="ProductContent"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-one entity-name="ProductContent" value-field="productContent"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/EditProductContentContent.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductContent}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="${contentFormName}" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleListAssociatedContentInfos}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListAssociatedContentInfos" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleCreateSimpleTextContentForAlternateLocale}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="CreateSimpleTextContentForAlternateLocale" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductAttributes">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductAttributes"/>
<set field="tabButtonItem" value="EditProductAttributes"/>
<set field="labelTitleProperty" value="ProductAttributes"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-and entity-name="ProductAttribute" list="productAttributes">
<field-map field-name="productId"/>
<order-by field-name="attrType"/>
<order-by field-name="attrName"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductAttributes}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="UpdateProductAttribute" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.ProductAddProductAttributeNameValueType}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="AddProductAttribute" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductAssoc">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductAssociations"/>
<set field="tabButtonItem" value="EditProductAssoc"/>
<set field="labelTitleProperty" value="ProductAssociations"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/EditProductAssoc.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container>
<section>
<widgets>
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/EditProductAssoc.ftl"/></html>
</platform-specific>
</widgets>
</section>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<!--
<screen name="EditProductAssoc">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductAssociations"/>
<set field="tabButtonItem" value="EditProductAssoc"/>
<set field="labelTitleProperty" value="EditProductAssoc"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-and entity-name="ProductAssoc" list-name="productAssocs">
<field-map field-name="productId"/>
<order-by field-name="productAssocTypeId"/>
</entity-and>
<entity-and entity-name="ProductAssoc" list-name="productAssocsTo">
<field-map from-field="productId" field-name="productIdTo"/>
<order-by field-name="productAssocTypeId"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-form name="ListProductAssocs" location="component://product/webapp/catalog/product/ProductForms.xml"/>
<include-form name="ListProductAssocsTo" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
-->
<screen name="ApplyFeaturesFromCategory">
<section>
<actions>
<set field="titleProperty" value="PageTitleApplyFeaturesFromCategory"/>
<set field="labelTitleProperty" value="ProductAddProductFeatureFromCategory"/>
<set field="tabButtonItem" value="EditProductFeatures"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/ApplyFeaturesFromCategory.groovy"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/ApplyFeaturesFromGroup.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/ApplyFeaturesFromCategory.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="CreateVirtualWithVariantsForm">
<section>
<actions>
<set field="leftbarScreenName" value="leftbar"/>
<set field="leftbarScreenLocation" value="component://product/widget/catalog/CommonScreens.xml"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-screen name="CreateVirtualWithVariantsFormInclude"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="CreateVirtualWithVariantsFormInclude">
<section>
<actions>
<entity-condition entity-name="ProductFeature" list="hazmatFeatures">
<condition-expr field-name="productFeatureTypeId" value="HAZMAT"/>
</entity-condition>
</actions>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleCreateVirtualWithVariants}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/CreateVirtualWithVariantsForm.ftl"/></html>
</platform-specific>
</widgets>
</section>
</container>
</container>
</widgets>
</section>
</screen>
<screen name="EditProductMaints">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductMaintenance"/>
<set field="labelTitleProperty" value="ProductMaintenance"/>
<set field="tabButtonItem" value="EditProductMaints"/>
<set field="productId" from-field="parameters.productId"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductMaintenance}"/>
</container>
</container>
<container style="screenlet-body">
<section>
<widgets>
<include-form name="ListProductMaints" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
</section>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductMaintenance}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="AddProductMaint" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductMeters">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductMeters"/>
<set field="labelTitleProperty" value="ProductMeters"/>
<set field="tabButtonItem" value="EditProductMeters"/>
<set field="productId" from-field="parameters.productId"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductMeters}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="ListProductMeters" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductMeters}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="AddProductMeter" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductGeos">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductGeos"/>
<set field="tabButtonItem" value="EditProductGeos"/>
<set field="productId" from-field="parameters.productId"/>
<set field="labelTitleProperty" value="ProductGeos"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductGeos}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="ListProductGeos" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductGeos}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="AddProductGeo" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductSubscriptionResources">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductSubscriptionResources"/>
<set field="tabButtonItem" value="EditProductSubscriptionResources"/>
<set field="labelTitleProperty" value="ProductSubscriptionResources"/>
<set field="productId" from-field="parameters.productId"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductSubscriptionResources}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="ListProductSubscriptionResources" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductSubscriptionResources}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="AddProductSubscriptionResource" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductWorkEfforts">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductWorkEffort"/>
<set field="tabButtonItem" value="EditProductWorkEfforts"/>
<set field="labelTitleProperty" value="ProductWorkEffort"/>
<set field="productId" from-field="parameters.productId"/>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleEditProductWorkEffort}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="ListProductWorkEfforts" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
<label text="${uiLabelMap.PageTitleAddProductWorkEffort}"/>
</container>
</container>
<container style="screenlet-body">
<include-form name="AddProductWorkEffort" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ProductBarCode.fo">
<section>
<actions>
<!-- base/top/specific map first, then more common map added for shared labels -->
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<set field="productId" from-field="parameters.productId"/>
<set field="productName" from-field="parameters.productName"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://product/webapp/catalog/product/ProductBarCode.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="EditProductParties">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProductParties"/>
<set field="headerItem" value="product"/>
<set field="tabButtonItem" value="EditProductParties"/>
<set field="labelTitleProperty" value="PartyParties"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="ProductRole" list="productRoles">
<condition-expr field-name="productId" from-field="productId"/>
<order-by field-name="roleTypeId"/>
<order-by field-name="partyId"/>
</entity-condition>
<entity-condition entity-name="RoleType" list="roleTypes">
<order-by field-name="description"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<label text="${uiLabelMap.PageTitleEditProductParties}" style="h3"/>
</container>
<container style="screenlet-body">
<platform-specific>
<html><html-template location="component://product/webapp/catalog/product/EditProductParties.ftl"/></html>
</platform-specific>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditVendorProduct">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditVendorProduct"/>
<set field="tabButtonItem" value="EditVendorProduct"/>
<set field="labelTitleProperty" value="PartyVendor"/>
<set field="productId" from-field="parameters.productId"/>
<entity-condition entity-name="VendorProduct" list="vendorProductList">
<condition-expr field-name="productId" from-field="productId"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<label text="${uiLabelMap.PageTitleEditVendorProduct}" style="h3"/>
</container>
<container style="screenlet-body">
<include-form name="ListVendorProducts" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar">
<label text="${uiLabelMap.PageTitleAddVendorProduct}" style="h3"/>
</container>
<container style="screenlet-body">
<include-form name="EditVendorProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="BestSellingProducts">
<section>
<actions>
<set field="filterDate" type="Timestamp" from-field="nowTimestamp"/>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/BestProducts.groovy"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.ProductBestSellingProductsOf} ${now}">
<section>
<condition>
<not>
<if-empty field="bestSellingProducts"/>
</not>
</condition>
<widgets>
<include-form name="ListBestProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/>
</widgets>
<fail-widgets>
<label style="h3" text="${uiLabelMap.ProductNoProductFound}"></label>
</fail-widgets>
</section>
</screenlet>
</widgets>
</section>
</screen>
</screens>