Author: buscob
Date: Tue Mar  9 22:12:20 2010
New Revision: 921162

URL: http://svn.apache.org/viewvc?rev=921162&view=rev
Log:
Moved TabBar Menu from the "body" decorator-section to the "pre-body" decorator 
section.

Modified:
    ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml

Modified: 
ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml?rev=921162&r1=921161&r2=921162&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml 
(original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml 
Tue Mar  9 22:12:20 2010
@@ -29,6 +29,19 @@ under the License.
             </actions>
             <widgets>
                 <decorator-screen name="main-decorator" 
location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="pre-body">
+                        <section>
+                            <condition>
+                                <and>
+                                    <if-has-permission permission="PARTYMGR" 
action="_VIEW"/>
+                                    <not><if-empty 
field="partyInvitation"/></not>
+                                </and>
+                            </condition>
+                            <widgets>
+                                <include-menu name="PartyInvitationTabBar" 
location="component://party/widget/partymgr/PartyMenus.xml"/>
+                            </widgets>
+                        </section>
+                    </decorator-section>
                     <decorator-section name="body">
                         <section>
                             <!-- do check for PARTYMGR, _VIEW permission -->
@@ -41,7 +54,6 @@ under the License.
                                         <not><if-empty 
field="partyInvitation"/></not>
                                     </condition>
                                     <widgets>
-                                        <include-menu 
name="PartyInvitationTabBar" 
location="component://party/widget/partymgr/PartyMenus.xml"/>
                                         <container style="button-bar"><link 
target="editPartyInvitation" 
text="${uiLabelMap.PartyInvitationNewPartyInvitation}" style="buttontext 
create"/></container>
                                         <container style="button-bar"><label 
style="h1">${uiLabelMap[titleProperty]}</label><label style="h2"> 
${uiLabelMap.CommonFor} "${partyInvitation.partyIdFrom}" 
[${partyInvitationId}]</label></container>
                                     </widgets>


Reply via email to