You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2009/10/05 05:55:56 UTC

svn commit: r821674 - /ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml

Author: mor
Date: Mon Oct  5 03:55:56 2009
New Revision: 821674

URL: http://svn.apache.org/viewvc?rev=821674&view=rev
Log:
workEffortId was not available in screen scope and when user click on Tasks tab, survey sub-tab as well as survey list was not visible to the user.

Modified:
    ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml?rev=821674&r1=821673&r2=821674&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml Mon Oct  5 03:55:56 2009
@@ -349,6 +349,7 @@
             <actions>
                 <set field="titleProperty" value="ProjectMgrTaskSummary"/>
                 <set field="tabButtonItem" value="taskView"/>
+                <set field="workEffortId" from-field="parameters.workEffortId"/>
             </actions>
             <widgets>
                 <decorator-screen name="Common${parameters.my}TaskDecorator" location="${parameters.mainDecoratorLocation}">
@@ -576,6 +577,7 @@
             <actions>
                 <set field="headerItem" value="task"/>
                 <set field="tabButtonItem" value="EditWorkEffortSurveyAppls"/>
+                <set field="workEffortId" from-field="parameters.workEffortId"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonTaskDecorator" location="${parameters.mainDecoratorLocation}">
@@ -594,7 +596,7 @@
             <actions>
                 <set field="nowTimeStampString" default-value="${groovy: org.ofbiz.base.util.UtilDateTime.nowTimestamp()}"/>
                 <entity-and entity-name="WorkEffortSurveyAppl" list="workEffortSurveyAppls">
-                    <field-map field-name="workEffortId" from-field="workEffortId"/>
+                    <field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
                     <order-by field-name="workEffortId"/>
                 </entity-and>
             </actions>