svn commit: r607553 - /ofbiz/trunk/framework/common/widget/CommonScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r607553 - /ofbiz/trunk/framework/common/widget/CommonScreens.xml

adrianc
Author: adrianc
Date: Sun Dec 30 08:11:48 2007
New Revision: 607553

URL: http://svn.apache.org/viewvc?rev=607553&view=rev
Log:
Add ability to specify alternate webapp footer - contributed by BJ Freeman, https://issues.apache.org/jira/browse/OFBIZ-932.

Modified:
    ofbiz/trunk/framework/common/widget/CommonScreens.xml

Modified: ofbiz/trunk/framework/common/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/CommonScreens.xml?rev=607553&r1=607552&r2=607553&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/framework/common/widget/CommonScreens.xml Sun Dec 30 08:11:48 2007
@@ -139,7 +139,17 @@
                 </container>
                 
                 <!-- render footer -->
-                <platform-specific><html><html-template location="component://common/webcommon/includes/footer.ftl"/></html></platform-specific>
+                <section>
+                    <condition>
+                        <if-empty field-name="applicationFooterTemplate"/>
+                    </condition>
+                    <widgets>
+                        <platform-specific><html><html-template location="component://common/webcommon/includes/footer.ftl"/></html></platform-specific>
+                    </widgets>
+                    <fail-widgets>
+                         <platform-specific><html><html-template location="${applicationFooterTemplate}"/></html></platform-specific>
+                    </fail-widgets>
+                </section>
             </widgets>
         </section>
     </screen>