svn commit: r778983 - in /ofbiz/trunk/specialpurpose/projectmgr/widget: ProjectScreens.xml forms/ProjectForms.xml

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

svn commit: r778983 - in /ofbiz/trunk/specialpurpose/projectmgr/widget: ProjectScreens.xml forms/ProjectForms.xml

hansbak-2
Author: hansbak
Date: Wed May 27 03:34:36 2009
New Revision: 778983

URL: http://svn.apache.org/viewvc?rev=778983&view=rev
Log:
sort projects under resource, hide mimetype field

Modified:
    ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml
    ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml?rev=778983&r1=778982&r2=778983&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml Wed May 27 03:34:36 2009
@@ -620,7 +620,7 @@
                 <entity-and entity-name="WorkEffortAndPartyAssign" list="parties">
                     <field-map field-name="workEffortTypeId" value="PROJECT"/>
                     <field-map field-name="partyId" from-field="parameters.partyId"/>
-                    <order-by field-name="workEffortId"/>
+                    <order-by field-name="workEffortName"/>
                 </entity-and>
                 <set field="projectId" from-field="parameters.projectId" default-value="${parameters.workEffortId}"/>
                 <service service-name="getProject" result-map="result">

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=778983&r1=778982&r2=778983&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Wed May 27 03:34:36 2009
@@ -714,6 +714,8 @@
                 <entity-options entity-name="WorkEffort" description="${workEffortName}" key-field-name="workEffortId">
                     <entity-constraint name="workEffortTypeId" value="PROJECT"/>
                     <entity-constraint name="workEffortId" operator="not-equals" env-name="projectId"/>
+                    <entity-constraint name="currentStatusId" operator="not-equals" value="PRJ_CLOSED"/>
+                    <entity-order-by field-name="workEffortName"/>
                 </entity-options>
             </drop-down>
         </field>
@@ -871,11 +873,11 @@
                 </entity-options>
             </drop-down>
         </field>
-        <field name="mimeTypeId" >
+        <!--field name="mimeTypeId" >
             <drop-down allow-empty="false">
                 <entity-options description="${description}" entity-name="MimeType" key-field-name="mimeTypeId"/>
             </drop-down>
-        </field>
+        </field-->
         <field name="dataResourceName" title="${uiLabelMap.CommonUpload}"><file/></field>
         <field name="dataCategoryId" use-when="dataResource==null">
             <drop-down allow-empty="false">