Author: jacopoc
Date: Fri Oct 19 03:14:47 2007
New Revision: 586365
URL:
http://svn.apache.org/viewvc?rev=586365&view=revLog:
Fixed main menu selection.
Modified:
ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml
ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml
Modified: ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml?rev=586365&r1=586364&r2=586365&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml (original)
+++ ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml Fri Oct 19 03:14:47 2007
@@ -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="BiAppBar" default-menu-item-name="main" id="app-navigation" type="simple" title="${uiLabelMap.BusinessIntelligenceApplication}"
- default-selected-style="selected">
+ default-selected-style="selected" selected-menuitem-context-field-name="headerItem">
<menu-item name="main" title="${uiLabelMap.CommonMain}"><link target="main"/></menu-item>
<menu-item name="reportbuilder" title="${uiLabelMap.ReportBuilder}"><link target="ReportBuilderSelectStarSchema"/></menu-item>
Modified: ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml?rev=586365&r1=586364&r2=586365&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml Fri Oct 19 03:14:47 2007
@@ -65,6 +65,9 @@
</screen>
<screen name="ReportBuilderSelectStarSchema">
<section>
+ <actions>
+ <set field="headerItem" value="reportbuilder"/>
+ </actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
@@ -77,6 +80,7 @@
<screen name="ReportBuilderSelectStarSchemaFields">
<section>
<actions>
+ <set field="headerItem" value="reportbuilder"/>
<script location="component://bi/webapp/bi/WEB-INF/actions/reportbuilder/getStarSchemaFields.bsh"/>
</actions>
<widgets>
@@ -93,6 +97,7 @@
<screen name="ReportBuilderRenderStarSchemaReport">
<section>
<actions>
+ <set field="headerItem" value="reportbuilder"/>
<script location="component://bi/webapp/bi/WEB-INF/actions/reportbuilder/runStarSchemaQuery.bsh"/>
</actions>
<widgets>
@@ -110,6 +115,7 @@
<screen name="main">
<section>
<actions>
+ <set field="headerItem" value="main"/>
<set field="fromDate" value="2007-01-01 00:00:00.0" type="Timestamp"/>
<set field="thruDate" value="2008-01-01 00:00:00.0" type="Timestamp"/>
</actions>