Author: mor
Date: Wed Jun 2 11:40:27 2010
New Revision: 950503
URL:
http://svn.apache.org/viewvc?rev=950503&view=revLog:
All the three menus items related to find (Find, Email From Unknown Parties & Find Communication By Order) under Communications header in
party manager should disappear when a user select any communication event from the search result.
Modified:
ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml?rev=950503&r1=950502&r2=950503&view=diff==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml Wed Jun 2 11:40:27 2010
@@ -537,6 +537,13 @@
</menu>
<menu name="CommEventTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="Find" title="${uiLabelMap.CommonFind}">
+ <condition>
+ <or>
+ <if-compare field="tabButtonItem" operator="equals" value="Find"/>
+ <if-compare field="tabButtonItem" operator="equals" value="ListUnknownPartyComms"/>
+ <if-compare field="tabButtonItem" operator="equals" value="FindCommunicationByOrder"/>
+ </or>
+ </condition>
<link target="FindCommunicationEvents"/>
</menu-item>
<menu-item name="OverView" title="${uiLabelMap.CommonOverview}">
@@ -584,9 +591,23 @@
</menu-item>
-->
<menu-item name="ListUnknownPartyComms" title="${uiLabelMap.PartyEmailFromUnknownParties}">
+ <condition>
+ <or>
+ <if-compare field="tabButtonItem" operator="equals" value="Find"/>
+ <if-compare field="tabButtonItem" operator="equals" value="ListUnknownPartyComms"/>
+ <if-compare field="tabButtonItem" operator="equals" value="FindCommunicationByOrder"/>
+ </or>
+ </condition>
<link target="listUnknownPartyComms"/>
</menu-item>
<menu-item name="FindCommunicationByOrder" title="${uiLabelMap.PartyFindCommunicationsByOrder}">
+ <condition>
+ <or>
+ <if-compare field="tabButtonItem" operator="equals" value="Find"/>
+ <if-compare field="tabButtonItem" operator="equals" value="ListUnknownPartyComms"/>
+ <if-compare field="tabButtonItem" operator="equals" value="FindCommunicationByOrder"/>
+ </or>
+ </condition>
<link target="FindCommunicationByOrder"/>
</menu-item>
<menu-item name="UpdateCommOrders" title="${uiLabelMap.OrderOrders}">