Author: jleroux
Date: Thu May 8 14:05:23 2008 New Revision: 654621 URL: http://svn.apache.org/viewvc?rev=654621&view=rev Log: Patches from Shubham Goyal "Set the current Menu Item Name for Accounting, Content and Party" (https://issues.apache.org/jira/browse/OFBIZ-1769) - OFBIZ-1769 (https://issues.apache.org/jira/browse/OFBIZ-1771) - OFBIZ-1771 (https://issues.apache.org/jira/browse/OFBIZ-1772) - OFBIZ-1772 There are still CSS (I guess) issues but they do not seem to be related to Shubham patches. Nevertheless I keep the Jira issues open with comments about issues. Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml ofbiz/trunk/applications/content/widget/SurveyMenus.xml ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/Menus.xml?rev=654621&r1=654620&r2=654621&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/Menus.xml (original) +++ ofbiz/trunk/applications/accounting/widget/Menus.xml Thu May 8 14:05:23 2008 @@ -21,7 +21,7 @@ <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd"> - <menu name="InvoiceTabBar" menu-container-style="button-bar tab-bar" default-selected-style="selected"> + <menu name="InvoiceTabBar" menu-container-style="button-bar tab-bar" default-selected-style="selected" type="simple" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="invoiceOverview" title="${uiLabelMap.AccountingInvoiceOverview}"> <condition> <not><if-empty field-name="invoice.invoiceId"/></not> @@ -358,7 +358,7 @@ </menu-item> </menu> <menu name="FixedAssetTabBar" default-menu-item-name="EditFixedAsset" default-selected-style="selected" - menu-container-style="button-bar button-style-1" type="simple"> + menu-container-style="button-bar button-style-1" type="simple" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="EditFixedAsset" title="${uiLabelMap.AccountingFixedAsset}"> <link target="EditFixedAsset?fixedAssetId=${fixedAssetId}"/> </menu-item> @@ -393,7 +393,7 @@ </menu> <menu name="FinAccountTabBar" default-menu-item-name="EditFinAccount" default-selected-style="selected" - menu-container-style="button-bar tab-bar" type="simple"> + menu-container-style="button-bar tab-bar" type="simple" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="EditFinAccount" title="${uiLabelMap.AccountingFinAccount}"> <link target="EditFinAccount?finAccountId=${finAccountId}"/> </menu-item> Modified: ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml?rev=654621&r1=654620&r2=654621&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml (original) +++ ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml Thu May 8 14:05:23 2008 @@ -20,7 +20,7 @@ <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd"> <menu name="TaxAuthorityTabBar" default-menu-item-name="EditTaxAuthority" type="simple" - menu-container-style="button-bar tab-bar" default-selected-style="selected"> + menu-container-style="button-bar tab-bar" default-selected-style="selected" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="EditTaxAuthority" title="${uiLabelMap.AccountingTaxAuthority}"> <link target="EditTaxAuthority?taxAuthPartyId=${taxAuthPartyId}&taxAuthGeoId=${taxAuthGeoId}"/> @@ -42,4 +42,4 @@ <link target="ListTaxAuthorityParties?taxAuthPartyId=${taxAuthPartyId}&taxAuthGeoId=${taxAuthGeoId}"/> </menu-item> </menu> -</menus> \ No newline at end of file +</menus> Modified: ofbiz/trunk/applications/content/widget/SurveyMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/SurveyMenus.xml?rev=654621&r1=654620&r2=654621&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/SurveyMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/SurveyMenus.xml Thu May 8 14:05:23 2008 @@ -20,7 +20,7 @@ <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd"> <menu name="SurveyTabBar" default-menu-item-name="Survey" default-selected-style="selected" - menu-container-style="button-bar tab-bar" type="simple"> + menu-container-style="button-bar tab-bar" type="simple" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="Survey" title="${uiLabelMap.SurveySurveyId}"> <link target="EditSurvey?surveyId=${surveyId}"/> </menu-item> Modified: ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml?rev=654621&r1=654620&r2=654621&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/forum/ForumMenus.xml Thu May 8 14:05:23 2008 @@ -19,7 +19,7 @@ --> <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd"> - <menu name="ForumGroupTabBar" menu-container-style="button-bar tab-bar" default-selected-style="selected" type="simple"> + <menu name="ForumGroupTabBar" menu-container-style="button-bar tab-bar" default-selected-style="selected" type="simple" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="forumGroups" title="${uiLabelMap.FormFieldTitle_forumGroups}"><link target="findForumGroups"/></menu-item> <menu-item name="forums" title="${uiLabelMap.FormFieldTitle_forums}"><link target="findForums?forumGroupId=${parameters.forumGroupId}"/></menu-item> <menu-item name="purposes" title="${uiLabelMap.FormFieldTitle_purposes}"><link target="forumGroupPurposes?forumGroupId=${parameters.forumGroupId}"/></menu-item> @@ -33,4 +33,4 @@ <menu-item name="messageList" title="${uiLabelMap.FormFieldTitle_messageList}"><link target="findForumMessages?forumGroupId=${parameters.forumGroupId}&forumId=${parameters.forumId}"/></menu-item> <menu-item name="messageThread" title="${uiLabelMap.FormFieldTitle_messageThread}"><link target="findForumThreads?forumGroupId=${parameters.forumGroupId}&forumId=${parameters.forumId}"/></menu-item> </menu> -</menus> \ No newline at end of file +</menus> Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml?rev=654621&r1=654620&r2=654621&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml Thu May 8 14:05:23 2008 @@ -21,7 +21,7 @@ <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd"> <menu name="ProfileTabBar" default-menu-item-name="viewprofile" default-selected-style="selected" - type="simple" menu-container-style="button-bar tab-bar"> + type="simple" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="viewprofile" title="${uiLabelMap.PartyProfile}"> <link target="viewprofile?partyId=${partyId}"/> </menu-item> @@ -93,4 +93,4 @@ <link target="PartyInvitationRoleAssocs?partyInvitationId=${partyInvitationId}"/> </menu-item> </menu> -</menus> \ No newline at end of file +</menus> |
Free forum by Nabble | Edit this page |