Author: buscob
Date: Tue Jan 12 01:02:52 2010
New Revision: 898141

URL: http://svn.apache.org/viewvc?rev=898141&view=rev
Log:
Fixed headerItem value conflicting with PortalPageId in Example.

Modified:
    ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
    ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml
    ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml

Modified: ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/CommonScreens.xml?rev=898141&r1=898140&r2=898141&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/CommonScreens.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/CommonScreens.xml Tue Jan 12 
01:02:52 2010
@@ -73,7 +73,7 @@
             screen and decorator. -->
         <section>
             <actions>
-                <set field="headerItem" value="Example"/>
+                <set field="headerItem" value="ExampleMenuItem"/>
                 <set field="exampleId" from-field="parameters.exampleId"/>
                 <entity-one entity-name="Example" value-field="example"/>
             </actions>

Modified: ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml?rev=898141&r1=898140&r2=898141&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml Tue Jan 12 
01:02:52 2010
@@ -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="ExampleAppBar" title="${uiLabelMap.ExampleApplication}" 
extends="CommonAppBarMenu" 
extends-resource="component://common/widget/CommonMenus.xml">
-        <menu-item name="Example" title="${uiLabelMap.ExampleExample}"><link 
target="FindExample"/></menu-item>
+        <menu-item name="ExampleMenuItem" 
title="${uiLabelMap.ExampleExample}"><link target="FindExample"/></menu-item>
         <menu-item name="ExampleFeature" 
title="${uiLabelMap.ExampleFeature}"><link 
target="FindExampleFeature"/></menu-item>
         <menu-item name="FormWidgetExamples" 
title="${uiLabelMap.ExampleFormWidgetExamples}"><link 
target="FormWidgetExamples"/></menu-item>
         <menu-item name="AjaxExample" 
title="${uiLabelMap.ExampleAjaxExamples}"><link 
target="authview/findExampleAjax"/></menu-item>

Modified: ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml?rev=898141&r1=898140&r2=898141&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml Tue Jan 12 
01:02:52 2010
@@ -25,6 +25,7 @@
     <screen name="FindExample">
         <section>
             <actions>
+                <set field="headerItem" value="ExampleMenuItem"/>
                 <set field="titleProperty" value="PageTitleFindExample"/>
                 <set field="exampleCtx" from-field="parameters"/>
             </actions>


Reply via email to