Author: buscob
Date: Tue Nov 24 17:01:52 2009 New Revision: 883786 URL: http://svn.apache.org/viewvc?rev=883786&view=rev Log: SFA application Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section. This makes better the rendering of themes such as Dropping Crumbs. Removed several redundant <section><widget> tags also Modified: ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml Modified: ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml?rev=883786&r1=883785&r2=883786&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml Tue Nov 24 17:01:52 2009 @@ -110,20 +110,11 @@ </actions> <widgets> <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="pre-body"> + <include-menu name="OpportunityTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> + </decorator-section> <decorator-section name="body"> - <section> - <widgets> - <section> - <widgets> - <include-menu name="OpportunityTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> - </widgets> - </section> - <decorator-section-include name="body"/> - </widgets> - <fail-widgets> - <label style="h3">${uiLabelMap.ProjectMgrViewPermissionError}</label> - </fail-widgets> - </section> + <decorator-section-include name="body"/> </decorator-section> </decorator-screen> </widgets> @@ -408,8 +399,10 @@ </widgets> <fail-widgets> <decorator-screen name="main-decorator"> - <decorator-section name="body"> + <decorator-section name="pre-body"> <include-menu name="OpportunityTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> + </decorator-section> + <decorator-section name="body"> <include-menu name="OpportunitySubTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> <decorator-section-include name="body"/> </decorator-section> @@ -423,8 +416,10 @@ <section> <widgets> <decorator-screen name="main-decorator"> - <decorator-section name="body"> + <decorator-section name="pre-body"> <include-menu name="AccountTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> + </decorator-section> + <decorator-section name="body"> <include-menu name="AccountSubTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> <container style="no-clear"> <decorator-section-include name="body"/> @@ -438,8 +433,10 @@ <section> <widgets> <decorator-screen name="main-decorator"> - <decorator-section name="body"> + <decorator-section name="pre-body"> <include-menu name="ContactTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> + </decorator-section> + <decorator-section name="body"> <include-menu name="ContactSubTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> <container style="no-clear"> <decorator-section-include name="body"/> @@ -461,8 +458,10 @@ </actions> <widgets> <decorator-screen name="main-decorator"> - <decorator-section name="body"> + <decorator-section name="pre-body"> <include-menu name="LeadTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> + </decorator-section> + <decorator-section name="body"> <include-menu name="LeadSubTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> <container style="no-clear"> <decorator-section-include name="body"/> @@ -479,8 +478,10 @@ </actions> <widgets> <decorator-screen name="main-decorator"> - <decorator-section name="body"> + <decorator-section name="pre-body"> <include-menu name="EventTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> + </decorator-section> + <decorator-section name="body"> <include-menu name="EventSubTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/> <container style="no-clear"> <decorator-section-include name="body"/> |
Free forum by Nabble | Edit this page |