ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject svn commit: r739705 - in /ofbiz/trunk: applications/workeffort/widget/WorkEffortMenus.xml specialpurpose/ebay/widget/EbayMenus.xml
Date Sun, 01 Feb 2009 07:31:55 GMT
Author: buscob
Date: Sun Feb  1 07:31:55 2009
New Revision: 739705

URL: http://svn.apache.org/viewvc?rev=739705&view=rev
Log:
Extended WorkEffort and Ebay AppBar from CommonAppBarMenu

Modified:
    ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml
    ofbiz/trunk/specialpurpose/ebay/widget/EbayMenus.xml

Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml?rev=739705&r1=739704&r2=739705&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml Sun Feb  1 07:31:55 2009
@@ -20,24 +20,15 @@
 
 <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
 
-    <menu name="WorkEffortAppBar" default-menu-item-name="task" id="app-navigation" type="simple"
selected-menuitem-context-field-name="headerItem"
-        default-selected-style="selected" title="${uiLabelMap.WorkEffortWorkEffortManagerApplication}">
+    <menu name="WorkEffortAppBar" title="${uiLabelMap.WorkEffortWorkEffortManagerApplication}"
extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
+        default-menu-item-name="task" >
         <menu-item name="task" title="${uiLabelMap.WorkEffortTaskList}"><link target="mytasks"/></menu-item>
         <menu-item name="calendar" title="${uiLabelMap.WorkEffortCalendar}"><link
target="day"/></menu-item>
         <menu-item name="mytime" title="${uiLabelMap.WorkEffortTimesheetMyTime}"><link
target="MyTimesheets"/></menu-item>
         <menu-item name="request" title="${uiLabelMap.WorkEffortRequestList}"><link
target="requestlist"/></menu-item>
         <menu-item name="workeffort" title="${uiLabelMap.WorkEffortWorkEffort}"><link
target="FindWorkEffort"/></menu-item>
         <menu-item name="timesheet" title="${uiLabelMap.WorkEffortTimesheet}"><link
target="FindTimesheet"/></menu-item>
-        <menu-item name="userJobs" title="${uiLabelMap.WorkEffortJobList}"><link
target="UserJobs"/></menu-item>
-        
-        <menu-item name="Logout" title="Logout" align-style="opposed">
-            <condition><not><if-empty field-name="userLogin"/></not></condition>
-            <link target="logout"/>
-        </menu-item>
-        <menu-item name="Login" title="Login" align-style="opposed">
-            <condition><if-empty field-name="userLogin"/></condition>
-            <link target="${checkLoginUrl}"/>
-        </menu-item>
+        <menu-item name="userJobs" title="${uiLabelMap.WorkEffortJobList}"><link
target="UserJobs"/></menu-item>        
     </menu>
     <menu name="WorkEffortTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
           default-menu-item-name="WorkEffort">

Modified: ofbiz/trunk/specialpurpose/ebay/widget/EbayMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/widget/EbayMenus.xml?rev=739705&r1=739704&r2=739705&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/widget/EbayMenus.xml (original)
+++ ofbiz/trunk/specialpurpose/ebay/widget/EbayMenus.xml Sun Feb  1 07:31:55 2009
@@ -18,17 +18,8 @@
 under the License.
 -->
 <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
-    <menu name="EbayAppBar" default-menu-item-name="main" id="app-navigation" type="simple"
title="${uiLabelMap.EbayApplication}"
-        default-selected-style="selected" selected-menuitem-context-field-name="headerItem">
+    <menu name="EbayAppBar" title="${uiLabelMap.EbayApplication}" extends="CommonAppBarMenu"
extends-resource="component://common/widget/CommonMenus.xml">
         <menu-item name="export" title="${uiLabelMap.EbayExportToEbay}"><link target="advancedsearch"/></menu-item>
         <menu-item name="importOrders" title="${uiLabelMap.EbayImportOrdersFromEbay}"><link
target="ManageOrdersFromEbay"/></menu-item>
-        <menu-item name="Logout" title="Logout" align-style="opposed" selected-style="selected">
-            <condition><not><if-empty field-name="userLogin"/></not></condition>
-            <link target="logout"/>
-        </menu-item>
-        <menu-item name="Login" title="Login" align-style="opposed" selected-style="selected">
-            <condition><if-empty field-name="userLogin"/></condition>
-            <link target="${checkLoginUrl}"/>
-        </menu-item>
     </menu>
 </menus>



Mime
View raw message