Author: buscob
Date: Wed Oct 14 21:05:54 2009 New Revision: 825283 URL: http://svn.apache.org/viewvc?rev=825283&view=rev Log: Changed <container style="screenlet"> pattern to <screenlet...>. Modified: ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml Modified: ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml?rev=825283&r1=825282&r2=825283&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml Wed Oct 14 21:05:54 2009 @@ -34,20 +34,10 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProduct}"> + <include-form name="EditProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <section> <condition> <and> @@ -56,16 +46,9 @@ </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> + <screenlet title="${uiLabelMap.ProductDuplicateProduct}"> + <include-form name="EditProductDup" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </widgets> </section> <section> @@ -81,16 +64,9 @@ <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> + <screenlet title="${uiLabelMap.ProductUpdateProductVariants}"> + <include-form name="UpdateProductVariants" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </widgets> </section> </widgets> @@ -124,34 +100,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductPrices}"> + <include-form name="UpdateProductPrice" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddProductPrices}"> + <include-form name="AddProductPrice" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -188,48 +142,15 @@ <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> + <screenlet title="${uiLabelMap.ProductPurchases}"> + <include-form name="ListSupplierProductAgreements" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductSales}"> + <include-form name="ListSalesAgreements" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductCommissions}"> + <include-form name="ListProductAgreements" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -254,34 +175,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductCategories}"> + <include-form name="UpdateProductCategoryMemeber" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddProductCategories}"> + <include-form name="AddProductCategoryMember" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -307,34 +206,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductConfigs}"> + <include-form name="UpdateProductConfig" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddProductConfigs}"> + <include-form name="AddProductConfig" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -356,39 +233,17 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductAssetUsage}"> + <include-form name="EditProductAssetUsage" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleEditProductAssetUsage}"> + <container> + <link target="newFixedAssetProduct" text="${uiLabelMap.PageTitleCreateProductAssetUsage}" style="buttontext"> + <parameter param-name="productId"/> + </link> </container> - </container> + <include-form name="ListProductFixedAssets" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -408,25 +263,14 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductAssetUsage}"> + <container> + <link target="newFixedAssetProduct" text="${uiLabelMap.AccountingFixedAssetNew}" style="buttontext"> + <parameter param-name="productId"/> + </link> </container> - </container> + <include-form name="showFixedAssetProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -445,20 +289,9 @@ <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> + <screenlet title="${uiLabelMap.PageTitleAddProductAssetUsage}"> + <include-form name="addFixedAssetProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -494,49 +327,16 @@ <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> + <screenlet title="${uiLabelMap.ProductRoutings}"> + <include-form name="ListProductRoutings" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> <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> + <screenlet title="${uiLabelMap.ProductComponents}"> + <include-form name="ListProductComponents" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductParent}"> + <include-form name="ListProductParents" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -568,48 +368,15 @@ <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> + <screenlet title="${uiLabelMap.ProductCosts}"> + <include-form name="ListCostComponents" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductAddCostComponent}"> + <include-form name="EditCostComponent" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductAutoCreateCosts}"> + <include-form name="CalculateProductCosts" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -631,22 +398,11 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductQuickAdmin}"> + <platform-specific> + <html><html-template location="component://product/webapp/catalog/product/QuickAddVariants.ftl"/></html> + </platform-specific> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -701,34 +457,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductFacilities}"> + <include-form name="UpdateProductFacilities" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductAddFacility}"> + <include-form name="AddProductFacility" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -756,34 +490,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductFacilityLocations}"> + <include-form name="UpdateProductFacilityLocations" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.CommonAdd} ${uiLabelMap.ProductFacilityLocation}"> + <include-form name="AddProductFacilityLocation" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -812,34 +524,12 @@ <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> + <screenlet title="${uiLabelMap.ProductAddProductKeyword}"> + <include-form name="AddProductKeyword" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleEditProductKeywords}"> + <include-form name="UpdateProductKeyword" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -873,20 +563,9 @@ <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> + <screenlet title="${uiLabelMap.ProductOutstandingPurchaseOrders}"> + <include-form name="OutstandingPurchaseOrders" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> <platform-specific> <html><html-template location="component://product/webapp/catalog/product/EditProductInventoryItems.ftl"/></html> </platform-specific> @@ -918,34 +597,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductGoodIdentifications}"> + <include-form name="UpdateProductGoodIdentifications" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleCreateProductGoodIdentifications}"> + <include-form name="AddProductGoodIdentification" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -975,46 +632,32 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductGlAccounts}"> + <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> + </screenlet> + <screenlet title="${uiLabelMap.ProductAddGlAccount}"> + <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> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1041,34 +684,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductPaymentMethodType}"> + <include-form name="UpdateProductPaymentMethodType" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddProductPaymentMethodType}"> + <include-form name="AddProductPaymentMethodType" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1101,54 +722,18 @@ </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> + <screenlet title="${uiLabelMap.ProductListFeatureInteractions}"> + <include-form name="ListFeatureInteractions" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductAddFeatureInteraction}"> + <include-form name="AddFeatureInteraction" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductFeatureAttributes}"> + <include-form name="AddProductFeatureApplAttr" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleListProductFeatureApplAttrs}"> + <include-form name="ListProductFeatureApplAttrs" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1178,20 +763,9 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditSupplierProduct}"> + <include-form name="ListSupplierProducts" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> <section> <condition><not><if-empty field="supplierProduct"/></not></condition> <widgets> @@ -1200,20 +774,9 @@ </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> + <screenlet title="${uiLabelMap.PageTitleAddProductSupplier}"> + <include-form name="AddSupplierProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1233,64 +796,20 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductContent}"> + <include-form name="ListProductContentInfos" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductCreateNewProductContent}"> + <include-form name="PrepareAddProductContentAssoc" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductAddContentProduct}"> + <include-form name="AddProductContentAssoc" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductOverrideSimpleFields}"> + <platform-specific> + <html><html-template location="component://product/webapp/catalog/product/EditProductContent.ftl"/></html> + </platform-specific> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1311,48 +830,15 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductContent}"> + <include-form name="${contentFormName}" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleListAssociatedContentInfos}"> + <include-form name="ListAssociatedContentInfos" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleCreateSimpleTextContentForAlternateLocale}"> + <include-form name="CreateSimpleTextContentForAlternateLocale" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1376,34 +862,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductAttributes}"> + <include-form name="UpdateProductAttribute" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.ProductAddProductAttributeNameValueType}"> + <include-form name="AddProductAttribute" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1516,22 +980,11 @@ </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> + <screenlet title="${uiLabelMap.PageTitleCreateVirtualWithVariants}"> + <platform-specific> + <html><html-template location="component://product/webapp/catalog/product/CreateVirtualWithVariantsForm.ftl"/></html> + </platform-specific> + </screenlet> </widgets> </section> </screen> @@ -1546,30 +999,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductMaintenance}"> + <include-form name="ListProductMaints" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddProductMaintenance}"> + <include-form name="AddProductMaint" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1586,26 +1021,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductMeters}"> + <include-form name="ListProductMeters" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddProductMeters}"> + <include-form name="AddProductMeter" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1622,26 +1043,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductGeos}"> + <include-form name="ListProductGeos" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddProductGeos}"> + <include-form name="AddProductGeo" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1659,26 +1066,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductSubscriptionResources}"> + <include-form name="ListProductSubscriptionResources" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddProductSubscriptionResources}"> + <include-form name="AddProductSubscriptionResource" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1696,26 +1089,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductWorkEffort}"> + <include-form name="ListProductWorkEfforts" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddProductWorkEffort}"> + <include-form name="AddProductWorkEffort" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1764,16 +1143,11 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditProductParties}"> + <platform-specific> + <html><html-template location="component://product/webapp/catalog/product/EditProductParties.ftl"/></html> + </platform-specific> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1795,22 +1169,12 @@ <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> + <screenlet title="${uiLabelMap.PageTitleEditVendorProduct}"> + <include-form name="ListVendorProducts" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> + <screenlet title="${uiLabelMap.PageTitleAddVendorProduct}"> + <include-form name="EditVendorProduct" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1879,14 +1243,9 @@ <link style="buttontext" target="AddCommEventForProduct" text="${uiLabelMap.CommonNew}"> <parameter param-name="productId"/> </link> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <label text="${uiLabelMap.PageTitleCommEvents}" style="h3"/> - </container> - <container style="screenlet-body"> - <include-form name="ListCommEvents" location="component://product/webapp/catalog/product/ProductForms.xml"/> - </container> - </container> + <screenlet title="${uiLabelMap.PageTitleCommEvents}"> + <include-form name="ListCommEvents" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> @@ -1906,14 +1265,9 @@ <widgets> <decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <label text="${uiLabelMap.ProductAddCommunicationEvent}" style="h3"/> - </container> - <container style="screenlet-body"> - <include-form name="EditCommEvent" location="component://product/webapp/catalog/product/ProductForms.xml"/> - </container> - </container> + <screenlet title="${uiLabelMap.ProductAddCommunicationEvent}"> + <include-form name="EditCommEvent" location="component://product/webapp/catalog/product/ProductForms.xml"/> + </screenlet> </decorator-section> </decorator-screen> </widgets> |
Free forum by Nabble | Edit this page |