Author: hansbak
Date: Tue Nov 11 01:08:11 2008
New Revision: 713004
URL:
http://svn.apache.org/viewvc?rev=713004&view=revLog:
status not properly set
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=713004&r1=713003&r2=713004&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Tue Nov 11 01:08:11 2008
@@ -23,11 +23,6 @@
<form name="EditTask" type="single" target="updateTask" default-map-name="task"
header-row-style="header-row" default-table-style="basic-table">
- <actions>
- <service service-name="getProjectTask" result-map-name="result">
- <field-map field-name="taskId" env-name="workEffortId"/>
- </service>
- </actions>
<alt-target use-when="myTask!=void && parameters.get("workEffortParentId")!=null" target="createMyTask"/>
<alt-target use-when="myTask!=void && parameters.get("workEffortParentId")==null" target="MyTasks"/>
<alt-target use-when="myTask==void&&task==null&&projectId==void" target="createTask"/>
@@ -36,7 +31,7 @@
<field name="statusId"><hidden value="PAS_ASSIGNED"/></field>
<field name="partyId" use-when="myTask!=void"><hidden value="${userLogin.partyId}"/></field>
<field name="projectId"><hidden value="${parameters.projectId}"/></field>
- <field name="workEffortTypeId" use-when="task==null||task==void"><hidden value="TASK"/></field>
+ <field name="workEffortTypeId"><hidden value="TASK"/></field>
<field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}*" tooltip="${uiLabelMap.CommonRequired}"><text/></field>
<field name="workEffortParentId" use-when="myTask==void&&projectId!=void" title="${uiLabelMap.ProjectMgrTaskPhase}*" tooltip="${uiLabelMap.CommonRequired}">
<drop-down allow-empty="true">
@@ -85,7 +80,7 @@
<entity-options entity-name="SkillType" description="${description}"/>
</drop-down>
</field>
- <field name="currentStatusId" use-when="task!=null" entry-name="result.taskInfo.currentStatusId"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
+ <field name="currentStatusId" use-when="task!=null&&task!=void"><hidden/></field>
<field name="currentStatusId" use-when="task==null||task==void"><hidden value="PTS_CREATED"/></field>
<field name="priority" title="${uiLabelMap.CommonPriority}">
<drop-down allow-empty="true" current="selected">