Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897530 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bruno Busco
2010-01-09 20:06:32 +00:00
parent 594a20df32
commit 4e8c64f5c7
@@ -56,6 +56,16 @@ under the License.
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="pre-body">
<section>
<condition>
<if-has-permission permission="ACCOUNTING" action="_VIEW"/>
</condition>
<widgets>
<include-menu name="PaymentTabBar" location="component://accounting/widget/AccountingMenus.xml"/>
</widgets>
</section>
</decorator-section>
<decorator-section name="body">
<section>
<!-- do check for ACCOUNTING, _VIEW permission -->
@@ -63,7 +73,6 @@ under the License.
<if-has-permission permission="ACCOUNTING" action="_VIEW"/>
</condition>
<widgets>
<include-menu name="PaymentTabBar" location="component://accounting/widget/AccountingMenus.xml"/>
<include-menu name="PaymentSubTabBar" location="component://accounting/widget/AccountingMenus.xml"/>
<container style="leftclear">
<section>