Author: hansbak
Date: Mon Mar 2 03:33:19 2009
New Revision: 749166
URL:
http://svn.apache.org/viewvc?rev=749166&view=revLog:
enable selection by status and make partyselection work
Modified:
ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml
Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml?rev=749166&r1=749165&r2=749166&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Mon Mar 2 03:33:19 2009
@@ -133,10 +133,22 @@
<field name="workEffortTypeId"><hidden value="TASK"/></field>
<field name="workEffortId" title="${uiLabelMap.ProjectMgrTaskId}"><text-find default-option="contains" ignore-case="true"/></field>
<field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}"><text-find default-option="contains" ignore-case="true"/></field>
+ <field name="currentStatusId">
+ <drop-down allow-empty="true">
+ <entity-options entity-name="StatusItem" description="${description}" key-field-name="statusId">
+ <entity-constraint name="statusTypeId" value="PROJECT_TASK_STATUS"/>
+ <entity-constraint name="statusId" operator="not-equals" value="PTS_CREATED_UA"/>
+ <entity-constraint name="statusId" operator="not-equals" value="PTS_CREATED_AS"/>
+ <entity-constraint name="statusId" operator="not-equals" value="PTS_CREATED_IP"/>
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ </drop-down>
+ </field>
<field name="partyId">
<drop-down allow-empty="true">
<entity-options entity-name="PartyRoleAndPartyDetail" description="${firstName} ${middleName} ${lastName}">
<entity-constraint name="roleTypeId" value="PROJECT_TEAM"/>
+ <entity-constraint name="statusId" operator="not-equals" value="PARTY_DISABLED"/>
<entity-order-by field-name="lastName"/>
<entity-order-by field-name="groupName"/>
</entity-options>