Author: buscob
Date: Wed Nov 4 21:59:19 2009 New Revision: 832881 URL: http://svn.apache.org/viewvc?rev=832881&view=rev Log: tabButtonItem variable was not always set in WebTools application resulting in the TabMenu items not highlighting as required. Modified: ofbiz/trunk/framework/webtools/widget/ArtifactInfoScreens.xml ofbiz/trunk/framework/webtools/widget/LabelManagerScreens.xml ofbiz/trunk/framework/webtools/widget/LogScreens.xml ofbiz/trunk/framework/webtools/widget/Menus.xml ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Modified: ofbiz/trunk/framework/webtools/widget/ArtifactInfoScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/ArtifactInfoScreens.xml?rev=832881&r1=832880&r2=832881&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/widget/ArtifactInfoScreens.xml (original) +++ ofbiz/trunk/framework/webtools/widget/ArtifactInfoScreens.xml Wed Nov 4 21:59:19 2009 @@ -27,7 +27,7 @@ </condition> <actions> <set field="titleProperty" value="WebtoolsArtifactInfo"/> - <set field="headerItem" value="ArtifactInfo"/> + <set field="tabButtonItem" value="artifactInfo"/> <script location="component://webtools/webapp/webtools/WEB-INF/actions/artifactinfo/ArtifactInfo.groovy"/> </actions> <widgets> Modified: ofbiz/trunk/framework/webtools/widget/LabelManagerScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/LabelManagerScreens.xml?rev=832881&r1=832880&r2=832881&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/widget/LabelManagerScreens.xml (original) +++ ofbiz/trunk/framework/webtools/widget/LabelManagerScreens.xml Wed Nov 4 21:59:19 2009 @@ -28,6 +28,7 @@ </condition> <actions> <set field="titleProperty" value="WebtoolsLabelManagerFindLabels"/> + <set field="tabButtonItem" value="labels"/> <script location="component://webtools/webapp/webtools/WEB-INF/actions/labelmanager/LabelManager.groovy"/> </actions> <widgets> Modified: ofbiz/trunk/framework/webtools/widget/LogScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/LogScreens.xml?rev=832881&r1=832880&r2=832881&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/widget/LogScreens.xml (original) +++ ofbiz/trunk/framework/webtools/widget/LogScreens.xml Wed Nov 4 21:59:19 2009 @@ -69,7 +69,7 @@ <section> <actions> <set field="titleProperty" value="PageTitleLogConfiguration"/> - <set field="logMenuItem" value="logConfiguration"/> + <set field="tabButtonItem" value="logConfiguration"/> <script location="component://webtools/webapp/webtools/WEB-INF/actions/log/LogConfiguration.groovy"/> </actions> <widgets> @@ -94,7 +94,7 @@ <section> <actions> <set field="titleProperty" value="PageTitleLogView"/> - <set field="logMenuItem" value="viewLog"/> + <set field="tabButtonItem" value="logView"/> <!-- TODO: the following command is not really working (and the default value is always used); my guess is that the base/config/debug.properties file is not found in the classpath --> <property-to-field resource="debug" property="log4j.appender.css.File" field="logFileName" default="runtime/logs/ofbiz.html" no-locale="true"/> Modified: ofbiz/trunk/framework/webtools/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/Menus.xml?rev=832881&r1=832880&r2=832881&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/widget/Menus.xml (original) +++ ofbiz/trunk/framework/webtools/widget/Menus.xml Wed Nov 4 21:59:19 2009 @@ -108,7 +108,7 @@ </menu> <menu name="LoggingTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" - selected-menuitem-context-field-name="logMenuItem"> + selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="logView" title="${uiLabelMap.WebtoolsViewLog}"> <link target="LogView"/> </menu-item> @@ -128,7 +128,7 @@ </menu> <menu name="artifactTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" - selected-menuitem-context-field-name="logMenuItem"> + selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="artifactInfo" title="${uiLabelMap.WebtoolsArtifactInfo}"> <link target="ArtifactInfo"/> </menu-item> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=832881&r1=832880&r2=832881&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original) +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Wed Nov 4 21:59:19 2009 @@ -25,6 +25,7 @@ <actions> <set field="headerItem" value="main"/> <set field="titleProperty" value="WebtoolsViewComponents"/> + <set field="tabButtonItem" value="viewents"/> </actions> <widgets> <decorator-screen name="CommonArtifactDecorator" location="component://webtools/widget/CommonScreens.xml"> |
Free forum by Nabble | Edit this page |