Author: hansbak
Date: Tue Jul 22 11:36:40 2008
New Revision: 678853
URL:
http://svn.apache.org/viewvc?rev=678853&view=revLog:
small fixes
Modified:
ofbiz/trunk/applications/content/widget/content/DataResourceMenus.xml
ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml
Modified: ofbiz/trunk/applications/content/widget/content/DataResourceMenus.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/DataResourceMenus.xml?rev=678853&r1=678852&r2=678853&view=diff==============================================================================
--- ofbiz/trunk/applications/content/widget/content/DataResourceMenus.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/DataResourceMenus.xml Tue Jul 22 11:36:40 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="contentsetup">
+ <menu name="contentsetup" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="adddataresource" title="Add" >
<link target="AddDataResource" name="AddDataResource" target-window="_top" style="tabButton" />
</menu-item>
@@ -82,7 +82,7 @@
<link target="navigateDataResource"/>
</menu-item>
</menu>
- <menu name="dataresource" menu-container-style="button-bar tab-bar" default-selected-style="selected">
+ <menu name="dataresource" menu-container-style="button-bar tab-bar" default-selected-style="selected" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="editDataResource" title="${uiLabelMap.CommonEdit}">
<condition>
<not><if-empty field-name="currentValue.dataResourceId"/></not>
Modified: ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml?rev=678853&r1=678852&r2=678853&view=diff==============================================================================
--- ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml Tue Jul 22 11:36:40 2008
@@ -440,7 +440,7 @@
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet id="DataResourceProductFeaturePanel" title="${uiLabelMap.PageTitleEditDataResourceProductFeatures}" collapsible="true">
- <include-form name="AddDataResourceProductFeatures" location="component://content/widget/content/DataResourceForms.xml"/>
+ <include-form name="AddDataResourceProductFeature" location="component://content/widget/content/DataResourceForms.xml"/>
</screenlet>
<include-form name="ListDataResourceProductFeature" location="component://content/widget/content/DataResourceForms.xml"/>
</decorator-section>