svn commit: r605085 - in /ofbiz/trunk/specialpurpose/projectmgr: config/ProjectMgrUiLabels.properties widget/TaskScreens.xml widget/forms/TaskForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r605085 - in /ofbiz/trunk/specialpurpose/projectmgr: config/ProjectMgrUiLabels.properties widget/TaskScreens.xml widget/forms/TaskForms.xml

hansbak-2
Author: hansbak
Date: Mon Dec 17 20:55:44 2007
New Revision: 605085

URL: http://svn.apache.org/viewvc?rev=605085&view=rev
Log:
add the request list to the task overview

Modified:
    ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.properties
    ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml
    ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.properties?rev=605085&r1=605084&r2=605085&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.properties (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.properties Mon Dec 17 20:55:44 2007
@@ -55,6 +55,7 @@
 PageTitleListTaskNotes=List Task Notes
 PageTitleMyTimesheets=My timesheet list
 PageTitleProjectInformation=Project Information
+PageTitleRequestList=Request List
 PageTitleTasksAfter=Tasks to be executed after the current task
 PageTitleTasksBefore=Tasks to be executed before the current task
 PageTitleTaskInformation=Task information

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml?rev=605085&r1=605084&r2=605085&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml Mon Dec 17 20:55:44 2007
@@ -337,6 +337,7 @@
                                 <container style="righthalf">
                                     <include-screen name="TaskTeamInfo"/>
                                     <include-screen name="NoteInfo"/>
+                                    <include-screen name="ListWorkEffortRequests"/>
                                 </container>
                             </widgets>
                         </section>
@@ -408,5 +409,21 @@
                 </container>                
             </widgets>
         </section>
-    </screen>    
+    </screen>
+    <screen name="ListWorkEffortRequests">
+        <section>
+            <actions>
+                <set field="tabButtonItem" value="taskView"/>
+                <set field="workEffortId" from-field="parameters.workEffortId"/>
+            </actions>
+            <widgets>
+                <container style="screenlet">
+                    <container style="screenlet-title-bar"><label style="boxhead" text="${uiLabelMap.PageTitleRequestList}"/></container>
+                    <container style="screenlet-body">
+                        <include-form name="ListWorkEffortRequests" location="component://projectmgr/widget/forms/TaskForms.xml"/>                  
+                    </container>              
+                </container>
+            </widgets>
+        </section>
+    </screen>          
 </screens>

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml?rev=605085&r1=605084&r2=605085&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Mon Dec 17 20:55:44 2007
@@ -295,5 +295,17 @@
         <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display type="date"/></field>
         <field name="plannedHours"><display/></field>
         <field name="actualHours"><display/></field>
-    </form>  
+    </form>  
+    <form name="ListWorkEffortRequests" type="list">
+        <actions>
+            <entity-and entity-name="WorkEffortCustRequestView">
+                <field-map field-name="workEffortId"/>
+            </entity-and>
+        </actions>
+        <field name="workEffortId"><hidden/></field>
+        <field name="custRequestId" widget-style="buttontext"><hyperlink description="${custRequestId}" target="/projectmgr/control/ViewRequest?custRequestId=${custRequestId}" target-type="inter-app"/></field>
+        <field name="description"><display/></field>
+        <field name="custRequestTypeDescription"><display/></field>
+        <field name="statusItemDescription"><display/></field>
+    </form>              
 </forms>