You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2010/06/02 20:59:15 UTC
svn commit: r950722 - in
/ofbiz/branches/release10.04/applications/product/widget/catalog:
CatalogMenus.xml CommonScreens.xml WebAnalyticsScreens.xml
Author: mor
Date: Wed Jun 2 18:59:15 2010
New Revision: 950722
URL: http://svn.apache.org/viewvc?rev=950722&view=rev
Log:
Merged changes from trunk r950719.
Fixed an issue with menu item not coming as selected upon selection. Also moved redundant declaration of the headerItem variable in independent
screens to just the screen decorator.
Modified:
ofbiz/branches/release10.04/applications/product/widget/catalog/CatalogMenus.xml
ofbiz/branches/release10.04/applications/product/widget/catalog/CommonScreens.xml
ofbiz/branches/release10.04/applications/product/widget/catalog/WebAnalyticsScreens.xml
Modified: ofbiz/branches/release10.04/applications/product/widget/catalog/CatalogMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/product/widget/catalog/CatalogMenus.xml?rev=950722&r1=950721&r2=950722&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/product/widget/catalog/CatalogMenus.xml (original)
+++ ofbiz/branches/release10.04/applications/product/widget/catalog/CatalogMenus.xml Wed Jun 2 18:59:15 2010
@@ -445,12 +445,12 @@ under the License.
</menu-item>
</menu>
- <menu name="WebAnalyticsConfigTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <menu name="WebAnalyticsConfigTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" selected-menuitem-context-field-name="tabButtonItem2">
<menu-item name="FindWebAnalyticsConfigs" title="${uiLabelMap.CommonFind}"><link target="FindWebAnalyticsConfigs"/></menu-item>
<menu-item name="EditWebAnalyticsConfig" title="${uiLabelMap.CommonNew}"><link target="EditWebAnalyticsConfig"/></menu-item>
</menu>
- <menu name="WebAnalyticsTypeTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <menu name="WebAnalyticsTypeTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" selected-menuitem-context-field-name="tabButtonItem2">
<menu-item name="FindWebAnalyticsTypes" title="${uiLabelMap.CommonFind}"><link target="FindWebAnalyticsTypes"/></menu-item>
<menu-item name="EditWebAnalyticsType" title="${uiLabelMap.CommonNew}"><link target="EditWebAnalyticsType"/></menu-item>
</menu>
Modified: ofbiz/branches/release10.04/applications/product/widget/catalog/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/product/widget/catalog/CommonScreens.xml?rev=950722&r1=950721&r2=950722&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/product/widget/catalog/CommonScreens.xml (original)
+++ ofbiz/branches/release10.04/applications/product/widget/catalog/CommonScreens.xml Wed Jun 2 18:59:15 2010
@@ -287,6 +287,7 @@ under the License.
<screen name="CommonWebAnalyticsDecorator">
<section>
<actions>
+ <set field="headerItem" value="WebAnalytics"/>
<set field="leftbarScreenName" value="leftbar"/>
<set field="leftbarScreenLocation" value="component://product/widget/catalog/CommonScreens.xml"/>
<set field="MainColumnStyle" value="leftonly"/>
Modified: ofbiz/branches/release10.04/applications/product/widget/catalog/WebAnalyticsScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/product/widget/catalog/WebAnalyticsScreens.xml?rev=950722&r1=950721&r2=950722&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/product/widget/catalog/WebAnalyticsScreens.xml (original)
+++ ofbiz/branches/release10.04/applications/product/widget/catalog/WebAnalyticsScreens.xml Wed Jun 2 18:59:15 2010
@@ -24,9 +24,8 @@ under the License.
<section>
<actions>
<set field="titleProperty" value="PageTitleFindWebAnalyticsConfigs"/>
- <set field="headerItem" value="WebAnalytics"/>
<set field="tabButtonItem" value="WebAnalyticsConfigs"/>
- <set field="tabButtonItem2" value="WebAnalyticsTypes"/>
+ <set field="tabButtonItem2" value="FindWebAnalyticsConfigs"/>
<set field="webAnalyticsConfigCtx" from-field="parameters"/>
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="10"/>
@@ -57,9 +56,8 @@ under the License.
<section>
<actions>
<set field="titleProperty" value="PageTitleEditWebAnalyticsConfigs"/>
- <set field="headerItem" value="WebAnalytics"/>
<set field="tabButtonItem" value="WebAnalyticsConfigs"/>
- <set field="tabButtonItem2" value="WebAnalyticsTypes"/>
+ <set field="tabButtonItem2" value="EditWebAnalyticsConfig"/>
<set field="productStoreId" from-field="parameters.productStoreId"/>
<set field="webAnalyticsTypeId" from-field="parameters.webAnalyticsTypeId"/>
<entity-one entity-name="WebAnalyticsConfig" value-field="webAnalyticsConfig" auto-field-map="true"/>
@@ -81,7 +79,6 @@ under the License.
<section>
<actions>
<set field="titleProperty" value="PageTitleFindWebAnalyticsTypes"/>
- <set field="headerItem" value="WebAnalytics"/>
<set field="tabButtonItem" value="WebAnalyticsTypes"/>
<set field="tabButtonItem2" value="FindWebAnalyticsTypes"/>
<set field="webAnalyticsTypeCtx" from-field="parameters"/>
@@ -114,9 +111,8 @@ under the License.
<section>
<actions>
<set field="titleProperty" value="PageTitleEditWebAnalyticsTypes"/>
- <set field="headerItem" value="WebAnalytics"/>
<set field="tabButtonItem" value="WebAnalyticsTypes"/>
- <set field="tabButtonItem2" value="WebAnalyticsTypes"/>
+ <set field="tabButtonItem2" value="EditWebAnalyticsType"/>
<set field="webAnalyticsTypeId" from-field="parameters.webAnalyticsTypeId"/>
<entity-one entity-name="WebAnalyticsType" value-field="webAnalyticsType" auto-field-map="true"/>
</actions>