svn commit: r646389 - in /ofbiz/trunk/applications/marketing: webapp/marketing/contact/ContactListMenus.xml widget/CommonScreens.xml widget/ContactListScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r646389 - in /ofbiz/trunk/applications/marketing: webapp/marketing/contact/ContactListMenus.xml widget/CommonScreens.xml widget/ContactListScreens.xml

ChrisG-2
Author: chrisg
Date: Wed Apr  9 07:52:56 2008
New Revision: 646389

URL: http://svn.apache.org/viewvc?rev=646389&view=rev
Log:
Fixed active tab display in contact lists

Modified:
    ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListMenus.xml
    ofbiz/trunk/applications/marketing/widget/CommonScreens.xml
    ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml

Modified: ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListMenus.xml?rev=646389&r1=646388&r2=646389&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListMenus.xml (original)
+++ ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListMenus.xml Wed Apr  9 07:52:56 2008
@@ -20,6 +20,7 @@
 <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
 
     <menu name="ContactListTabBar" default-menu-item-name="ContactList" type="simple"
+        selected-menuitem-context-field-name="contactListTabButtonItem"
         default-selected-style="selected" menu-container-style="button-bar tab-bar">
         <menu-item name="ContactList" title="${uiLabelMap.ContactList}">
             <link target="/EditContactList?contactListId=${contactListId}"/>

Modified: ofbiz/trunk/applications/marketing/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/CommonScreens.xml?rev=646389&r1=646388&r2=646389&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/CommonScreens.xml Wed Apr  9 07:52:56 2008
@@ -51,6 +51,7 @@
             <actions>
                 <property-map resource="MarketingUiLabels" map-name="uiLabelMap" global="true"/>
                 <set field="headerItem" value="ContactList"/>
+                <set field="tabButtonItem" value="ContactList"/>
                 <set field="contactListId" from-field="parameters.contactListId"/>
                 <entity-one entity-name="ContactList" value-name="contactList"/>
             </actions>

Modified: ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml?rev=646389&r1=646388&r2=646389&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml Wed Apr  9 07:52:56 2008
@@ -25,7 +25,7 @@
        <section>
            <actions>
                <set field="titleProperty" value="ContactListFindContactLists"/>
-               <set field="tabButtonItem" value="ContactList"/>
+               <set field="contactListTabButtonItem" value="ContactList"/>
                <set field="labelTitleProperty" value="PageTitleFindContactLists"/>
                <set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/FindContactList"/>
            </actions>
@@ -57,7 +57,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleEditContactList"/>
-                <set field="tabButtonItem" value="ContactList"/>
+                <set field="contactListTabButtonItem" value="ContactList"/>
                 <set field="labelTitleProperty" value="PageTitleEditContactList"/>
 
                 <set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListContactLists"/>
@@ -115,7 +115,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleListContactList"/>
-                <set field="tabButtonItem" value="ContactList"/>
+                <set field="contactListTabButtonItem" value="ContactList"/>
                 <set field="labelTitleProperty" value="PageTitleListContactList"/>
 
                 <!-- parameters for pagination -->
@@ -153,7 +153,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleEditContactListParty"/>
-                <set field="tabButtonItem" value="ContactListParty"/>
+                <set field="contactListTabButtonItem" value="ContactListParty"/>
                 <set field="labelTitleProperty" value="PageTitleEditContactListParty"/>
 
                 <set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListContactList"/>
@@ -206,7 +206,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleListContactListParty"/>
-                <set field="tabButtonItem" value="ContactListParty"/>
+                <set field="contactListTabButtonItem" value="ContactListParty"/>
                 <set field="labelTitleProperty" value="PageTitleListContactListParty"/>
 
                 <!-- parameters for pagination -->
@@ -243,7 +243,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleFindContactListParty"/>
-                <set field="tabButtonItem" value="ContactListParty"/>
+                <set field="contactListTabButtonItem" value="ContactListParty"/>
                 <set field="labelTitleProperty" value="PageTitleFindContactListParty"/>
 
                 <set field="contactListId" from-field="parameters.contactListId"/>
@@ -277,7 +277,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleEditContactList"/>
-                <set field="tabButtonItem" value="ContactListCommEvent"/>
+                <set field="contactListTabButtonItem" value="ContactListCommEvent"/>
                 <set field="labelTitleProperty" value="PageTitleEditContactList"/>
 
                 <set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListContactList"/>
@@ -315,7 +315,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleListContactListCommEvent"/>
-                <set field="tabButtonItem" value="ContactListCommEvent"/>
+                <set field="contactListTabButtonItem" value="ContactListCommEvent"/>
                 <set field="labelTitleProperty" value="PageTitleListContactListCommEvent"/>
 
                 <!-- parameters for pagination -->
@@ -352,7 +352,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleFindContactListCommEvents"/>
-                <set field="tabButtonItem" value="ContactListCommEvent"/>
+                <set field="contactListTabButtonItem" value="ContactListCommEvent"/>
                 <set field="labelTitleProperty" value="PageTitleFindContactListCommEvents"/>
 
                 <set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListContactList"/>
@@ -387,7 +387,7 @@
             <actions>
                 <property-map resource="MarketingUiLabels" map-name="uiLabelMap" global="true"/>
                 <set field="titleProperty" value="PageTitleLookupContactList"/>
-                <set field="tabButtonItem" value="ContactList"/>
+                <set field="contactListTabButtonItem" value="ContactListCommEvent"/>
                 <set field="labelTitleProperty" value="PageTitleLookupContactList"/>
                 <set field="title" value="${uiLabelMap.PageTitleLookupContactList}" />
             </actions>
@@ -419,7 +419,7 @@
             <actions>
                 <property-map resource="MarketingUiLabels" map-name="uiLabelMap" global="true"/>
                 <set field="titleProperty" value="PageTitlePreferredContactMech"/>
-                <set field="tabButtonItem" value="ContactList"/>
+                <set field="contactListTabButtonItem" value="ContactListCommEvent"/>
                 <set field="labelTitleProperty" value="PageTitlePreferredContactMech"/>
                 <set field="title" value="${uiLabelMap.PageTitlePreferredContactMech}" />