[OFBiz] SVN: r6712 - trunk/framework/common/widget

jonesde@svn.ofbiz.org jonesde at svn.ofbiz.org
Fri Feb 10 18:07:08 CST 2006


Author: jonesde
Date: 2006-02-10 18:07:06 -0600 (Fri, 10 Feb 2006)
New Revision: 6712

Modified:
   trunk/framework/common/widget/CommonScreens.xml
Log:
Added patch from Jacopo Cappellato for a global decorator, ie for all back-end apps not for ecommmerce

Modified: trunk/framework/common/widget/CommonScreens.xml
===================================================================
--- trunk/framework/common/widget/CommonScreens.xml	2006-02-10 21:16:47 UTC (rev 6711)
+++ trunk/framework/common/widget/CommonScreens.xml	2006-02-11 00:07:06 UTC (rev 6712)
@@ -64,6 +64,39 @@
         </section>
     </screen>
 
+    <screen name="GlobalDecorator">
+        <section>
+            <widgets>
+                <!-- render header -->
+                <platform-specific><html><html-template location="component://common/webcommon/includes/header.ftl"/></html></platform-specific>
+                <!-- render appbar -->
+                <platform-specific><html><html-template location="component://common/webcommon/includes/appbar.ftl"/></html></platform-specific>
+                
+                <container style="centerarea">
+                    <!-- render appheader -->
+                    <platform-specific><html><html-template location="${appheaderTemplate}"/></html></platform-specific>
+                    
+                    <container style="contentarea">
+                        <container id="column-container">
+                            <!-- by default will render left-bar only if leftbarScreen value not empty -->
+                            <include-screen name="${leftbarScreenName}" location="${leftbarScreenLocation}"/>
+
+                            <container style="${MainColumnStyle}">
+                                <!-- render messages -->
+                                <platform-specific><html><html-template location="component://common/webcommon/includes/messages.ftl"/></html></platform-specific>
+                                <decorator-section-include name="body"/>
+                            </container>
+                            <container style="endcolumns"><label text="&amp;nbsp;"/></container>
+                        </container>
+                    </container>
+                </container>
+                
+                <!-- render footer -->
+                <platform-specific><html><html-template location="component://common/webcommon/includes/footer.ftl"/></html></platform-specific>
+            </widgets>
+        </section>
+    </screen>
+
     <screen name="LookupDecorator">
         <section>
             <actions>



More information about the Svn mailing list