show status on project edit form

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@606661 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hans Bakker
2007-12-24 03:55:53 +00:00
parent 13cd53b445
commit 7fcdde9526
+3 -3
View File
@@ -19,7 +19,7 @@
-->
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
<form name="EditProject" type="single" target="updateProject" default-map-name="project">
<form name="EditProject" type="single" target="updateProject" default-map-name="project">
<alt-target use-when="project==null" target="createProject"/>
<field use-when="project==null" name="templateId">
<drop-down allow-empty="true">
@@ -33,8 +33,8 @@
<field name="workEffortId"><hidden value="${projectId}"/></field>
<field name="projectName" parameter-name="workEffortName" title="${uiLabelMap.ProjectMgrProjectName}*"><text/></field>
<field name="projectDescription" parameter-name="description" title="${uiLabelMap.CommonDescription}"><text/></field>
<field use-when="project!=null" name="statusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
<field use-when="project==null" name="statusId" parameter-name="currentStatusId"><hidden value="CAL_ACCEPTED"/></field>
<field use-when="project!=null" name="currentStatusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
<field use-when="project==null" name="currentStatusId"><hidden value="_NA_"/></field>
<field name="priority" title="${uiLabelMap.CommonPriority}"><display/></field>
<field name="scopeEnumId" title="${uiLabelMap.ProjectMgrWorkEffortScopeEnumId}">
<drop-down allow-empty="false">