[OFBiz] SVN: r6858 - trunk/applications/content/widget/compdoc

byersa@svn.ofbiz.org byersa at svn.ofbiz.org
Mon Feb 27 12:14:40 CST 2006


Author: byersa
Date: 2006-02-27 12:14:36 -0600 (Mon, 27 Feb 2006)
New Revision: 6858

Modified:
   trunk/applications/content/widget/compdoc/CompDocScreens.xml
Log:
There is a bad sideeffect in the DataResource admin screens that sets 
dataResourceId in the session.
This fix makes the FindCompDoc screen work, regardless.


Modified: trunk/applications/content/widget/compdoc/CompDocScreens.xml
===================================================================
--- trunk/applications/content/widget/compdoc/CompDocScreens.xml	2006-02-27 17:34:02 UTC (rev 6857)
+++ trunk/applications/content/widget/compdoc/CompDocScreens.xml	2006-02-27 18:14:36 UTC (rev 6858)
@@ -216,6 +216,8 @@
                 <set field="currentContentMenuItemName" value=""/>
                 <set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/>
                 <set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="20"/>
+				<!-- there is a bad sideeffect of the DataResource admin screens. sets dataResourceId in session. -->
+				<set field="dataResourceId" to-scope="user"/>
             </actions>
             <widgets>
                 <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml">



More information about the Svn mailing list