You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bu...@apache.org on 2009/10/14 23:04:50 UTC

svn commit: r825281 - in /ofbiz/trunk/applications/product/widget/catalog: ConfigScreens.xml PriceScreens.xml

Author: buscob
Date: Wed Oct 14 21:04:50 2009
New Revision: 825281

URL: http://svn.apache.org/viewvc?rev=825281&view=rev
Log:
Changed <container style="screenlet"> pattern to <screenlet...>.

Modified:
    ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml
    ofbiz/trunk/applications/product/widget/catalog/PriceScreens.xml

Modified: ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml?rev=825281&r1=825280&r2=825281&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml Wed Oct 14 21:04:50 2009
@@ -50,7 +50,7 @@
                                 </section>
                                 <container style="no-clear">
                                     <decorator-section-include name="body"/>
-                                  </container>
+                                </container>
                             </widgets>
                             <fail-widgets>
                                 <label style="h3">${uiLabelMap.ProductCatalogViewPermissionError}</label>
@@ -96,20 +96,9 @@
             <widgets>
                 <decorator-screen name="CommonConfigDecorator">
                     <decorator-section name="body">
-                        <container style="screenlet">
-                            <container style="screenlet-title-bar">
-                                <container style="h3">
-                                    <label text="${uiLabelMap.PageTitleEditConfigItem}"/>
-                                </container>
-                            </container>
-                            <container style="screenlet-body">
-                                <section>
-                                    <widgets>
-                                        <include-form name="EditProductConfigItem" location="component://product/webapp/catalog/config/ConfigForms.xml"/>
-                                    </widgets>
-                                </section>
-                            </container>
-                        </container>
+                        <screenlet title="${uiLabelMap.PageTitleEditConfigItem}">
+                            <include-form name="EditProductConfigItem" location="component://product/webapp/catalog/config/ConfigForms.xml"/>
+                        </screenlet>
                     </decorator-section>
                 </decorator-screen>
             </widgets>

Modified: ofbiz/trunk/applications/product/widget/catalog/PriceScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/PriceScreens.xml?rev=825281&r1=825280&r2=825281&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/PriceScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/PriceScreens.xml Wed Oct 14 21:04:50 2009
@@ -36,7 +36,9 @@
                                 <if-has-permission permission="CATALOG" action="_VIEW"/>
                             </condition>
                             <widgets>
-                                <decorator-section-include name="body"/>
+                                <container style="no-clear">
+                                    <decorator-section-include name="body"/>
+                                </container>
                             </widgets>
                             <fail-widgets>
                                 <label style="h3">${uiLabelMap.ProductCatalogViewPermissionError}</label>
@@ -58,23 +60,11 @@
             <widgets>
                 <decorator-screen name="CommonPriceDecorator">
                     <decorator-section name="body">
-                        <screenlet>
-                            <container style="screenlet-title-bar">
-                                <container style="h3">
-                                    <label text="${uiLabelMap.ProductGlobalPriceRules}"/>
-                                </container>
-                            </container>
-                            <container style="screenlet-body">
-                                <include-form name="FindProductPriceRules" location="component://product/webapp/catalog/price/PriceForms.xml"/>
-                            </container>
-                            <container style="screenlet-title-bar">
-                                <container style="h3">
-                                    <label text="${uiLabelMap.ProductAddPriceRule}"/>
-                                </container>
-                            </container>
-                            <container style="screenlet-body">
-                                <include-form location="component://product/webapp/catalog/price/PriceForms.xml" name="AddPriceRules"/>
-                            </container>
+                        <screenlet title="${uiLabelMap.ProductGlobalPriceRules}">
+                            <include-form name="FindProductPriceRules" location="component://product/webapp/catalog/price/PriceForms.xml"/>
+                        </screenlet>
+                        <screenlet title="${uiLabelMap.ProductAddPriceRule}">
+                            <include-form location="component://product/webapp/catalog/price/PriceForms.xml" name="AddPriceRules"/>
                         </screenlet>
                     </decorator-section>
                 </decorator-screen>