Author: chrisg
Date: Wed Mar 5 08:17:05 2008 New Revision: 633905 URL: http://svn.apache.org/viewvc?rev=633905&view=rev Log: fixed line endings Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (contents, props changed) Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=633905&r1=633904&r2=633905&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Wed Mar 5 08:17:05 2008 @@ -1,26 +1,26 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. ---> -<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<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" - header-row-style="header-row" default-table-style="basic-table"> + header-row-style="header-row" default-table-style="basic-table"> <alt-target use-when="project==null" target="createProject"/> <field use-when="project==null" name="templateId"> <drop-down allow-empty="true"> @@ -83,8 +83,8 @@ <service service-name="getPartyEmail" result-map-name="emailResult"/> <service service-name="getPartyTelephone" result-map-name="telResult"/> </row-actions> - <field name="resourceName" parameter-name="partyId" title="${uiLabelMap.ProjectMgrResourceName}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${firstName} ${middleName} ${lastName} ${groupName}" target="viewprofile?partyId=${partyId}"/> + <field name="resourceName" parameter-name="partyId" title="${uiLabelMap.ProjectMgrResourceName}" widget-style="buttontext"> + <hyperlink also-hidden="false" description="${firstName} ${middleName} ${lastName} ${groupName}" target="viewprofile?partyId=${partyId}"/> </field> <field name="roleTypeId"><hidden/></field> <field name="emailAddess"><hyperlink target="/partymgr/control/EditCommunicationEvent?partyIdFrom=${userLogin.partyId}&partyIdTo=${partyId}&communicationEventTypeId=EMAIL_COMMUNICATION&contactMechIdTo=${contactMechId}&contactMechTypeId=EMAIL_ADDRESS" description="${emailResult.emailAddress}" target-type="inter-app"/></field> @@ -105,76 +105,76 @@ <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}" parameter-name="workEffortName"><text-find size="25" default-option="contains"></text-find></field> <field name="fromDate" title="${uiLabelMap.CommonFromDate}" parameter-name="createdStamp"><date-find/></field> <field name="find" title="${uiLabelMap.CommonFind}"><submit/></field> - </form> + </form> <form name="hoursNotYetBilled" type="list" list-name="entryList" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <actions> - <script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/hoursNotYetBilled.bsh"/> - </actions> - <field name="workEffortName"><display/></field> - <field name="phaseName"><display/></field> - <field name="hours"><display/></field> - <field name="partyId"><display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName}"/></field> - <field name="fromDate"><display type="date"/></field> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <actions> + <script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/hoursNotYetBilled.bsh"/> + </actions> + <field name="workEffortName"><display/></field> + <field name="phaseName"><display/></field> + <field name="hours"><display/></field> + <field name="partyId"><display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName}"/></field> + <field name="fromDate"><display type="date"/></field> </form> <form name="ListProjects" type="list" list-name="listIt" paginate-target="FindProject" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <actions> - <set field="parameters.workEffortTypeId" value="PROJECT"/> - <service service-name="performFind" result-map-name="result" result-map-list-name="listIt"> - <field-map field-name="inputFields" env-name="parameters"/> - <field-map field-name="entityName" value="WorkEffort"/> - <field-map field-name="orderBy" value="lastStatusUpdate DESC"/> - </service> - </actions> - <row-actions> - <service service-name="getProject" result-map-name="result"> - <field-map field-name="projectId" value="${workEffortId}"/> - </service> - <set field="projectName" from-field="result.projectInfo.projectName"/> - <set field="projectId" from-field="result.projectInfo.projectId"/> - <set field="currentStatusId" from-field="result.projectInfo.currentStatusId"/> - <set field="priority" from-field="result.projectInfo.priority"/> - <set field="plannedHours" from-field="result.projectInfo.plannedHours"/> - <set field="actualHours" from-field="result.projectInfo.actualHours"/> - <set field="createdStamp" from-field="result.projectInfo.createdStamp"/> - <set field="estimatedStartDate" from-field="result.projectInfo.estimatedStartDate"/> - <set field="estimatedCompletionDate" from-field="result.projectInfo.estimatedCompletionDate"/> - <set field="actualStartDate" from-field="result.projectInfo.actualStartDate"/> - <set field="actualCompletionDate" from-field="result.projectInfo.actualCompletionDate"/> - </row-actions> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <actions> + <set field="parameters.workEffortTypeId" value="PROJECT"/> + <service service-name="performFind" result-map-name="result" result-map-list-name="listIt"> + <field-map field-name="inputFields" env-name="parameters"/> + <field-map field-name="entityName" value="WorkEffort"/> + <field-map field-name="orderBy" value="lastStatusUpdate DESC"/> + </service> + </actions> + <row-actions> + <service service-name="getProject" result-map-name="result"> + <field-map field-name="projectId" value="${workEffortId}"/> + </service> + <set field="projectName" from-field="result.projectInfo.projectName"/> + <set field="projectId" from-field="result.projectInfo.projectId"/> + <set field="currentStatusId" from-field="result.projectInfo.currentStatusId"/> + <set field="priority" from-field="result.projectInfo.priority"/> + <set field="plannedHours" from-field="result.projectInfo.plannedHours"/> + <set field="actualHours" from-field="result.projectInfo.actualHours"/> + <set field="createdStamp" from-field="result.projectInfo.createdStamp"/> + <set field="estimatedStartDate" from-field="result.projectInfo.estimatedStartDate"/> + <set field="estimatedCompletionDate" from-field="result.projectInfo.estimatedCompletionDate"/> + <set field="actualStartDate" from-field="result.projectInfo.actualStartDate"/> + <set field="actualCompletionDate" from-field="result.projectInfo.actualCompletionDate"/> + </row-actions> <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext"> <hyperlink description="${projectName}" target="projectView?projectId=${projectId}"/> </field> - <field name="currentStatusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> - <field name="priority" title="${uiLabelMap.CommonPriority}"><display/></field> - <field name="estimatedStartDate" title="${uiLabelMap.FormFieldTitle_estimatedStartDate}"><display type="date"/></field> - <field name="estimatedCompletionDate" title="${uiLabelMap.FormFieldTitle_estimatedCompletionDate}"><display type="date"/></field> - <field name="actualStartDate" title="${uiLabelMap.FormFieldTitle_actualStartDate}"><display type="date"/></field> - <field name="actualCompletionDate" title="${uiLabelMap.FormFieldTitle_actualCompletionDate}"><display type="date"/></field> - <field name="plannedHours" title="${uiLabelMap.ProjectMgrPlannedHours}"><display/></field> - <field name="actualHours" title="${uiLabelMap.ProjectMgrActualHours}"><display/></field> - <field name="createdStamp" title="${uiLabelMap.FormFieldTitle_createdDate}"><display type="date"/></field> - </form> + <field name="currentStatusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> + <field name="priority" title="${uiLabelMap.CommonPriority}"><display/></field> + <field name="estimatedStartDate" title="${uiLabelMap.FormFieldTitle_estimatedStartDate}"><display type="date"/></field> + <field name="estimatedCompletionDate" title="${uiLabelMap.FormFieldTitle_estimatedCompletionDate}"><display type="date"/></field> + <field name="actualStartDate" title="${uiLabelMap.FormFieldTitle_actualStartDate}"><display type="date"/></field> + <field name="actualCompletionDate" title="${uiLabelMap.FormFieldTitle_actualCompletionDate}"><display type="date"/></field> + <field name="plannedHours" title="${uiLabelMap.ProjectMgrPlannedHours}"><display/></field> + <field name="actualHours" title="${uiLabelMap.ProjectMgrActualHours}"><display/></field> + <field name="createdStamp" title="${uiLabelMap.FormFieldTitle_createdDate}"><display type="date"/></field> + </form> <form name="EditSubProjects" list-name="projects" type="list" target="RemoveSubProject" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <field name="projectId"><hidden/></field> - <field name="workEffortParentId"><hidden value=""/></field> - <field name="workEffortId"><hidden value="${projectId}"/></field> - <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${projectName}" target="projectView?projectId=${projectId}"/> - </field> - <field name="currentStatusId" title="${uiLabelMap.CommonStatus}" parameter-name="dummy"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> - <field name="priority" title="${uiLabelMap.CommonPriority}"><display/></field> - <field name="estimatedStartDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}"><display type="date"/></field> - <field name="estimatedCompletionDate" title="${uiLabelMap.WorkEffortEstimatedCompletionDate}"><display type="date"/></field> - <field name="actualStartDate" title="${uiLabelMap.WorkEffortActualStartDate}"><display type="date"/></field> - <field name="actualCompletionDate" title="${uiLabelMap.WorkEffortActualCompletionDate}"><display type="date"/></field> - <field name="plannedHours"><display/></field> - <field name="actualHours"><display/></field> - <field name="createdStamp"><display type="date"/></field> - <!--field name="removeButton"><submit/></field--><!-- TODO: difficult to clear the workEffortParentId field in the record have to find solution--> - </form> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <field name="projectId"><hidden/></field> + <field name="workEffortParentId"><hidden value=""/></field> + <field name="workEffortId"><hidden value="${projectId}"/></field> + <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext"> + <hyperlink also-hidden="false" description="${projectName}" target="projectView?projectId=${projectId}"/> + </field> + <field name="currentStatusId" title="${uiLabelMap.CommonStatus}" parameter-name="dummy"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> + <field name="priority" title="${uiLabelMap.CommonPriority}"><display/></field> + <field name="estimatedStartDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}"><display type="date"/></field> + <field name="estimatedCompletionDate" title="${uiLabelMap.WorkEffortEstimatedCompletionDate}"><display type="date"/></field> + <field name="actualStartDate" title="${uiLabelMap.WorkEffortActualStartDate}"><display type="date"/></field> + <field name="actualCompletionDate" title="${uiLabelMap.WorkEffortActualCompletionDate}"><display type="date"/></field> + <field name="plannedHours"><display/></field> + <field name="actualHours"><display/></field> + <field name="createdStamp"><display type="date"/></field> + <!--field name="removeButton"><submit/></field--><!-- TODO: difficult to clear the workEffortParentId field in the record have to find solution--> + </form> <form name="ProjectInfo" type="single" default-map-name="project" paginate-target="FindProject" header-row-style="header-row" default-table-style="basic-table"> <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"><display/></field> @@ -195,52 +195,52 @@ <field name="createdDate"><display type="date"/></field> </form> <form name="ListChildEfforts" target="updateProjectAndAssoc" title="" list-name="projects" type="list" separate-columns="true" paginate-target="FindProject" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <row-actions> - <entity-one entity-name="StatusItem" value-name="currentStatus"> - <field-map field-name="statusId" env-name="currentStatusId"/> - </entity-one> - </row-actions> - <field name="workEffortTypeId"><hidden/></field> - <field name="workEffortId"><hidden/></field> - <field name="projectId"><hidden/></field> - <field name="fromDate"><hidden/></field> - <field name="workEffortAssocTypeId"><hidden/></field> - <field name="workEffortIdTo" entry-name="workEffortId"><hidden/></field> - <field name="workEffortName" position="1" title="${uiLabelMap.CommonName}*"><display/></field> - - <field name="currentStatusId"> - <drop-down allow-empty="false" current-description="${currentStatus.description}"> - <entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})"> - <entity-constraint name="statusId" value="${currentStatusId}"/> - <entity-order-by field-name="sequenceId"/> - </entity-options> - </drop-down> - </field> - <field name="description" title="${uiLabelMap.CommonDescription}"><text size="15"/></field> - <field name="priority" title="${uiLabelMap.CommonPriority}" position="1"> - <drop-down allow-empty="true"> - <option key="1" description="1 (${uiLabelMap.WorkEffortPriorityHigh})"/><option key="2"/><option key="3"/><option key="4"/><option key="5"/> - <option key="6"/><option key="7"/><option key="8"/><option key="9" description="9 (${uiLabelMap.WorkEffortPriorityLow})"/> - </drop-down> - </field> - <field name="actualStartDate" entry-name="workEffortToActualStartDate" title="${uiLabelMap.WorkEffortActualStartDate}"><date-time/></field> - <field name="actualCompletionDate" entry-name="workEffortToActualCompletionDate" title="${uiLabelMap.WorkEffortActualCompletionDate}"><date-time/></field> - <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> - </form> - + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <row-actions> + <entity-one entity-name="StatusItem" value-name="currentStatus"> + <field-map field-name="statusId" env-name="currentStatusId"/> + </entity-one> + </row-actions> + <field name="workEffortTypeId"><hidden/></field> + <field name="workEffortId"><hidden/></field> + <field name="projectId"><hidden/></field> + <field name="fromDate"><hidden/></field> + <field name="workEffortAssocTypeId"><hidden/></field> + <field name="workEffortIdTo" entry-name="workEffortId"><hidden/></field> + <field name="workEffortName" position="1" title="${uiLabelMap.CommonName}*"><display/></field> + + <field name="currentStatusId"> + <drop-down allow-empty="false" current-description="${currentStatus.description}"> + <entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})"> + <entity-constraint name="statusId" value="${currentStatusId}"/> + <entity-order-by field-name="sequenceId"/> + </entity-options> + </drop-down> + </field> + <field name="description" title="${uiLabelMap.CommonDescription}"><text size="15"/></field> + <field name="priority" title="${uiLabelMap.CommonPriority}" position="1"> + <drop-down allow-empty="true"> + <option key="1" description="1 (${uiLabelMap.WorkEffortPriorityHigh})"/><option key="2"/><option key="3"/><option key="4"/><option key="5"/> + <option key="6"/><option key="7"/><option key="8"/><option key="9" description="9 (${uiLabelMap.WorkEffortPriorityLow})"/> + </drop-down> + </field> + <field name="actualStartDate" entry-name="workEffortToActualStartDate" title="${uiLabelMap.WorkEffortActualStartDate}"><date-time/></field> + <field name="actualCompletionDate" entry-name="workEffortToActualCompletionDate" title="${uiLabelMap.WorkEffortActualCompletionDate}"><date-time/></field> + <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> + </form> + <form name="EditProjectTasks" target="updateProjectTaskOrPhase" title="" list-name="tasks" type="list" separate-columns="true" paginate-target="EditProjectTasks" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <row-actions> - <service service-name="getProjectTask" result-map-name="result"> - <field-map field-name="taskId" env-name="workEffortId"/> - </service> + <service service-name="getProjectTask" result-map-name="result"> + <field-map field-name="taskId" env-name="workEffortId"/> + </service> <set field="currentStatusId" from-field="result.taskInfo.currentStatusId"/> </row-actions> - <field entry-name="workEffortName" name="taskName" parameter-name="workEffortName" title="${uiLabelMap.CommonName}"><hyperlink target="taskView?workEffortId=${workEffortId}" description="${workEffortName}"/></field> + <field entry-name="workEffortName" name="taskName" parameter-name="workEffortName" title="${uiLabelMap.CommonName}"><hyperlink target="taskView?workEffortId=${workEffortId}" description="${workEffortName}"/></field> <field name="currentStatusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"></display-entity></field> - <field name="workEffortId"><hidden value="${workEffortId}"/></field> - <field name="projectId"><hidden/></field> + <field name="workEffortId"><hidden value="${workEffortId}"/></field> + <field name="projectId"><hidden/></field> <field name="workEffortParentId" title="${uiLabelMap.ProjectMgrTaskPhase}"> <drop-down allow-empty="false"> <entity-options entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName}[${workEffortId}]"> @@ -250,52 +250,52 @@ </entity-options> </drop-down> </field> - <field name="priority" title="${uiLabelMap.CommonPriority}"> - <drop-down allow-empty="true"> - <option key="1" description="1 (${uiLabelMap.WorkEffortPriorityHigh})"/><option key="2"/><option key="3"/><option key="4"/><option key="5"/> - <option key="6"/><option key="7"/><option key="8"/><option key="9" description="9 (${uiLabelMap.WorkEffortPriorityLow})"/> - </drop-down> - </field> - <field name="estimatedStartDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}"><date-time type="date"/></field> - <field name="estimatedCompletionDate" title="${uiLabelMap.WorkEffortEstimatedCompletionDate}"><date-time type="date"/></field> - <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> - </form> + <field name="priority" title="${uiLabelMap.CommonPriority}"> + <drop-down allow-empty="true"> + <option key="1" description="1 (${uiLabelMap.WorkEffortPriorityHigh})"/><option key="2"/><option key="3"/><option key="4"/><option key="5"/> + <option key="6"/><option key="7"/><option key="8"/><option key="9" description="9 (${uiLabelMap.WorkEffortPriorityLow})"/> + </drop-down> + </field> + <field name="estimatedStartDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}"><date-time type="date"/></field> + <field name="estimatedCompletionDate" title="${uiLabelMap.WorkEffortEstimatedCompletionDate}"><date-time type="date"/></field> + <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> + </form> <form name="ListUnassignedTasks" target="updateTaskAndAssoc" title="" list-name="tasks" type="list" separate-columns="true" paginate-target="FindTask" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <row-actions> - <entity-one entity-name="StatusItem" value-name="currentStatus"> - <field-map field-name="statusId" env-name="currentStatusId"/> - </entity-one> - </row-actions> - <field name="workEffortTypeId"><hidden/></field> - <field name="workEffortId"><hidden/></field> - <field name="workEffortAssocTypeId"><hidden/></field> - <field name="workEffortIdTo" entry-name="workEffortId"><hidden/></field> - <field name="workEffortName" position="1" title="${uiLabelMap.CommonName}*"><display/></field> - <field name="projectId" title="${uiLabelMap.ProjectMgrWorkEffortIdFrom}"><lookup target-form-name="LookupWorkEffort"/></field> - <field name="fromDate"><date-time/></field> - <field name="currentStatusId"> - <drop-down allow-empty="false" current-description="${currentStatus.description}"> - <entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})"> - <entity-constraint name="statusId" value="${currentStatusId}"/> - <entity-order-by field-name="sequenceId"/> - </entity-options> - </drop-down> - </field> - <field name="description" title="${uiLabelMap.CommonDescription}"><text size="15"/></field> - <field name="priority" title="${uiLabelMap.CommonPriority}" position="1"> - <drop-down allow-empty="true"> - <option key="1" description="1 (${uiLabelMap.WorkEffortPriorityHigh})"/><option key="2"/><option key="3"/><option key="4"/><option key="5"/> - <option key="6"/><option key="7"/><option key="8"/><option key="9" description="9 (${uiLabelMap.WorkEffortPriorityLow})"/> - </drop-down> - </field> - <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> - </form> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <row-actions> + <entity-one entity-name="StatusItem" value-name="currentStatus"> + <field-map field-name="statusId" env-name="currentStatusId"/> + </entity-one> + </row-actions> + <field name="workEffortTypeId"><hidden/></field> + <field name="workEffortId"><hidden/></field> + <field name="workEffortAssocTypeId"><hidden/></field> + <field name="workEffortIdTo" entry-name="workEffortId"><hidden/></field> + <field name="workEffortName" position="1" title="${uiLabelMap.CommonName}*"><display/></field> + <field name="projectId" title="${uiLabelMap.ProjectMgrWorkEffortIdFrom}"><lookup target-form-name="LookupWorkEffort"/></field> + <field name="fromDate"><date-time/></field> + <field name="currentStatusId"> + <drop-down allow-empty="false" current-description="${currentStatus.description}"> + <entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})"> + <entity-constraint name="statusId" value="${currentStatusId}"/> + <entity-order-by field-name="sequenceId"/> + </entity-options> + </drop-down> + </field> + <field name="description" title="${uiLabelMap.CommonDescription}"><text size="15"/></field> + <field name="priority" title="${uiLabelMap.CommonPriority}" position="1"> + <drop-down allow-empty="true"> + <option key="1" description="1 (${uiLabelMap.WorkEffortPriorityHigh})"/><option key="2"/><option key="3"/><option key="4"/><option key="5"/> + <option key="6"/><option key="7"/><option key="8"/><option key="9" description="9 (${uiLabelMap.WorkEffortPriorityLow})"/> + </drop-down> + </field> + <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> + </form> <form name="ListPhases" target="updateProjectPhase" title="" list-name="phases" type="list" separate-columns="true" paginate-target="FindPhase" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <field name="projectId"><hidden value="${parameters.projectId}"/></field> - <field name="phaseId" parameter-name="workEffortId"><hidden/></field> - <field name="phaseName" parameter-name="workEffortName" title="${uiLabelMap.CommonName}*"><text/></field> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <field name="projectId"><hidden value="${parameters.projectId}"/></field> + <field name="phaseId" parameter-name="workEffortId"><hidden/></field> + <field name="phaseName" parameter-name="workEffortName" title="${uiLabelMap.CommonName}*"><text/></field> <field name="currentStatusId" title="${uiLabelMap.CommonStatus}" parameter-name="dummy"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field> <field name="priority" title="${uiLabelMap.CommonPriority}"><display/></field> <field name="scopeEnumId" title="${uiLabelMap.ProjectMgrWorkEffortScopeEnumId}"><display-entity entity-name="Enumeration" key-field-name="enumId"/></field> @@ -303,8 +303,8 @@ <field name="estimatedCompletionDate" title="${uiLabelMap.FormFieldTitle_estimatedCompletionDate}"><display type="date"/></field> <field name="actualStartDate" title="${uiLabelMap.FormFieldTitle_actualStartDate}"><display type="date"/></field> <field name="actualCompletionDate" title="${uiLabelMap.FormFieldTitle_actualCompletionDate}"><display type="date"/></field> - <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> - </form> + <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> + </form> <form name="ListPhaseInfo" type="list" list-name="phases" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="projectId"><hidden value="parameters.projectId"/></field> @@ -320,7 +320,7 @@ odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="projectId"><hidden value="parameters.projectId"/></field> <field name="task"><hyperlink target="taskView?workEffortId=${workEffortId}" description="${workEffortName}"/></field> - <field name="phaseName"><display/></field> + <field name="phaseName"><display/></field> <field name="currentStatusId"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> <field name="priority"><display/></field> <field name="startDate"><display type="date"/></field> @@ -330,49 +330,49 @@ </form> <form name="ListProjectParties" type="list" list-name="parties" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <field name="projectId"><hidden/></field> - <field name="partyName" title="${uiLabelMap.CommonName}"> - <hyperlink target="viewprofile?partyId=${partyId}" description="${partyName}"/> - </field> - <field name="roleTypeId" title="${uiLabelMap.ProjectMgrPartyRoleTypeId}"><display-entity entity-name="RoleType" description="${description}"/></field> - <field name="fromDate" title="${uiLabelMap.CommonFromDate}"><display type="date"/></field> + <field name="projectId"><hidden/></field> + <field name="partyName" title="${uiLabelMap.CommonName}"> + <hyperlink target="viewprofile?partyId=${partyId}" description="${partyName}"/> + </field> + <field name="roleTypeId" title="${uiLabelMap.ProjectMgrPartyRoleTypeId}"><display-entity entity-name="RoleType" description="${description}"/></field> + <field name="fromDate" title="${uiLabelMap.CommonFromDate}"><display type="date"/></field> <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display type="date"/></field> <field name="actualHours"><display/></field> - </form> + </form> <form name="EditProjectSkills" type="list" target="updateProjectSkillStandard" list-name="workEffortSkillStandardList" paginate-target="EditProjectSkills" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <field name="workEffortId" title="${uiLabelMap.ProjectMgrWorkEffortId}"> - <display-entity entity-name="WorkEffort" description="${workEffortName} ${workEffortId}"> - <sub-hyperlink target="EditProject?workEffortId=${workEffortId}" description="${workEffortId}" link-style="buttontext"/> - </display-entity> - </field> - <field name="skillTypeId" title="${uiLabelMap.ProjectMgrSkillType}"><display-entity entity-name="SkillType" description="${description}"/></field> - <field name="estimatedNumPeople" title="${uiLabelMap.ProjectMgrEstimatedNumPeople}"><text/></field> - <field name="estimatedDuration" title="${uiLabelMap.ProjectMgrEstimatedDuration}"><text/></field> - <field name="estimatedCost" title="${uiLabelMap.ProjectMgrEstimatedCost}" widget-style="linktext"><text/></field> - <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> - <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="linktext"> - <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteProjectSkillStandard?workEffortId=${workEffortId}&skillTypeId=${skillTypeId}"/> - </field> - </form> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <field name="workEffortId" title="${uiLabelMap.ProjectMgrWorkEffortId}"> + <display-entity entity-name="WorkEffort" description="${workEffortName} ${workEffortId}"> + <sub-hyperlink target="EditProject?workEffortId=${workEffortId}" description="${workEffortId}" link-style="buttontext"/> + </display-entity> + </field> + <field name="skillTypeId" title="${uiLabelMap.ProjectMgrSkillType}"><display-entity entity-name="SkillType" description="${description}"/></field> + <field name="estimatedNumPeople" title="${uiLabelMap.ProjectMgrEstimatedNumPeople}"><text/></field> + <field name="estimatedDuration" title="${uiLabelMap.ProjectMgrEstimatedDuration}"><text/></field> + <field name="estimatedCost" title="${uiLabelMap.ProjectMgrEstimatedCost}" widget-style="linktext"><text/></field> + <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> + <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="linktext"> + <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteProjectSkillStandard?workEffortId=${workEffortId}&skillTypeId=${skillTypeId}"/> + </field> + </form> <form name="EditWorkEffortPartyAssigns" target="deleteWorkEffortPartyAssign" title="" type="list" paginate-target="ListWorkEffortPartyAssigns" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <actions> - <entity-condition entity-name="WorkEffortPartyAssignView"> - <condition-expr field-name="workEffortId" operator="equals" env-name="workEffortId"/> - <order-by field-name="roleTypeId"/> - </entity-condition> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <actions> + <entity-condition entity-name="WorkEffortPartyAssignView"> + <condition-expr field-name="workEffortId" operator="equals" env-name="workEffortId"/> + <order-by field-name="roleTypeId"/> + </entity-condition> </actions> <field name="workEffortId"><hidden/></field> <field name="projectId"><hidden/></field> - <field name="partyId" widget-style="buttontext"><hyperlink target="viewprofile?partyId=${partyId}" description="${firstName} ${middleName} ${lastName} ${groupName}"/></field> + <field name="partyId" widget-style="buttontext"><hyperlink target="viewprofile?partyId=${partyId}" description="${firstName} ${middleName} ${lastName} ${groupName}"/></field> <field name="roleTypeId" title="${uiLabelMap.PartyRoleType}"> <display-entity entity-name="RoleType"/> </field> - <field name="fromDate" title="${uiLabelMap.CommonFromDate}"><display type="date"/></field> - <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display type="date"/></field> - <field name="deleteButton" widget-style="smallSubmit"><submit button-type="button"/></field> - </form> + <field name="fromDate" title="${uiLabelMap.CommonFromDate}"><display type="date"/></field> + <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display type="date"/></field> + <field name="deleteButton" widget-style="smallSubmit"><submit button-type="button"/></field> + </form> <form name="AddWorkEffortPartyAssign" target="createWorkEffortPartyAssign" title="" type="single" header-row-style="header-row" default-table-style="basic-table"> <alt-target use-when="workEffortId!=projectId" target="createTaskPartyAssign"/><!-- this used for tasks else for project --> @@ -412,134 +412,134 @@ <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListProjectNotes" extends="ListWorkEffortNotes" extends-resource="component://workeffort/widget/WorkEffortForms.xml" type="list" paginate-target="EditWorkEffortNotes" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <actions> - <entity-condition entity-name="WorkEffortNoteAndData"> - <condition-expr field-name="workEffortId" env-name="projectId"/> - <order-by field-name="noteId"/> - </entity-condition> - </actions> - <field name="noteId" widget-style="tabletext"><hidden/></field> - <field name="workEffortId"><hidden/></field> - <field name="noteParty" title="${uiLabelMap.CommonBy}" widget-style="tabletext"><display description="${bsh:org.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${bsh: org.ofbiz.base.util.UtilDateTime.timeStampToString(noteDateTime, "dd-MM-yyyy HH:mm", TimeZone.getDefault(), context.get("locale"))}"/></field> - </form> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <actions> + <entity-condition entity-name="WorkEffortNoteAndData"> + <condition-expr field-name="workEffortId" env-name="projectId"/> + <order-by field-name="noteId"/> + </entity-condition> + </actions> + <field name="noteId" widget-style="tabletext"><hidden/></field> + <field name="workEffortId"><hidden/></field> + <field name="noteParty" title="${uiLabelMap.CommonBy}" widget-style="tabletext"><display description="${bsh:org.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${bsh: org.ofbiz.base.util.UtilDateTime.timeStampToString(noteDateTime, "dd-MM-yyyy HH:mm", TimeZone.getDefault(), context.get("locale"))}"/></field> + </form> <form name="listResourcesTasks" type="list" list-name="tasks" paginate-target="listResourcesTask" target="updateResourcesTaskAssigment" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <row-actions> - <service service-name="getProjectIdAndNameFromTask" result-map-name="resultProject"> - <field-map field-name="taskId" env-name="workEffortId"/> - </service> - <service service-name="getProjectTask" result-map-name="result"> - <field-map field-name="taskId" env-name="workEffortId"/> - </service> - <set field="currentStatusId" from-field="result.taskInfo.currentStatusId"/> - <set field="plannedHours" from-field="result.taskInfo.plannedHours"/> - <set field="actualHours" from-field="result.taskInfo.actualHours"/> - <set field="statusId" from-field="result.statusId"/> - </row-actions> - <field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${workEffortName}" target="taskView?workEffortId=${workEffortId}"/> - </field> - <field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display description="${resultProject.phaseName}"/></field> - <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"><hyperlink target="projectView?projectId=${resultProject.projectId}" description="${resultProject.projectName}"/></field> - <field entry-name="currentStatusId" name="currentStatusId"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> - <field entry-name="statusId" name="Status"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> - <field name="workEffortId"><hidden value="${workEffortId}"/></field> - <field name="priority" title="${uiLabelMap.CommonPriority}" widget-area-style="centered"> - <display description="${priority}"/> - </field> - <field name="estimatedStartDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}" widget-area-style="centered"><display type="date"/></field> - <field name="estimatedCompletionDate" title="${uiLabelMap.WorkEffortEstimatedCompletionDate}" widget-area-style="centered"><display type="date"/></field> - <field name="actualStartDate" title="${uiLabelMap.ProjectMgrWorkEffortActualStartDate}" widget-area-style="centered"><display type="date"/></field> - <field name="actualCompletionDate" title="${uiLabelMap.ProjectMgrWorkEffortActualCompletionDate}" widget-area-style="centered"><display type="date"/></field> - <field name="plannedHours" widget-area-style="centered"><display/></field> - <field name="actualHours" widget-area-style="centered"><display/></field> - <field name="remove" title="${uiLabelMap.CommonRemove}"><hyperlink target="updateResourcesTaskAssigment?workEffortId=${workEffortId}&partyId=${partyId}&roleTypeId=${roleTypeId}&fromDate=${fromDate}&statusId=PAS_ENDED" description="${uiLabelMap.CommonRemove}"/></field> - <field name="toComplete" title="${uiLabelMap.CommonStatustoComplete}"><hyperlink target="updateResourcesTaskAssigment?workEffortId=${workEffortId}&partyId=${partyId}&roleTypeId=${roleTypeId}&fromDate=${fromDate}&statusId=PAS_COMPLETED" description="${uiLabelMap.CommonStatustoComplete}"/></field> - </form> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <row-actions> + <service service-name="getProjectIdAndNameFromTask" result-map-name="resultProject"> + <field-map field-name="taskId" env-name="workEffortId"/> + </service> + <service service-name="getProjectTask" result-map-name="result"> + <field-map field-name="taskId" env-name="workEffortId"/> + </service> + <set field="currentStatusId" from-field="result.taskInfo.currentStatusId"/> + <set field="plannedHours" from-field="result.taskInfo.plannedHours"/> + <set field="actualHours" from-field="result.taskInfo.actualHours"/> + <set field="statusId" from-field="result.statusId"/> + </row-actions> + <field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}" widget-style="buttontext"> + <hyperlink also-hidden="false" description="${workEffortName}" target="taskView?workEffortId=${workEffortId}"/> + </field> + <field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display description="${resultProject.phaseName}"/></field> + <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"><hyperlink target="projectView?projectId=${resultProject.projectId}" description="${resultProject.projectName}"/></field> + <field entry-name="currentStatusId" name="currentStatusId"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> + <field entry-name="statusId" name="Status"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> + <field name="workEffortId"><hidden value="${workEffortId}"/></field> + <field name="priority" title="${uiLabelMap.CommonPriority}" widget-area-style="centered"> + <display description="${priority}"/> + </field> + <field name="estimatedStartDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}" widget-area-style="centered"><display type="date"/></field> + <field name="estimatedCompletionDate" title="${uiLabelMap.WorkEffortEstimatedCompletionDate}" widget-area-style="centered"><display type="date"/></field> + <field name="actualStartDate" title="${uiLabelMap.ProjectMgrWorkEffortActualStartDate}" widget-area-style="centered"><display type="date"/></field> + <field name="actualCompletionDate" title="${uiLabelMap.ProjectMgrWorkEffortActualCompletionDate}" widget-area-style="centered"><display type="date"/></field> + <field name="plannedHours" widget-area-style="centered"><display/></field> + <field name="actualHours" widget-area-style="centered"><display/></field> + <field name="remove" title="${uiLabelMap.CommonRemove}"><hyperlink target="updateResourcesTaskAssigment?workEffortId=${workEffortId}&partyId=${partyId}&roleTypeId=${roleTypeId}&fromDate=${fromDate}&statusId=PAS_ENDED" description="${uiLabelMap.CommonRemove}"/></field> + <field name="toComplete" title="${uiLabelMap.CommonStatustoComplete}"><hyperlink target="updateResourcesTaskAssigment?workEffortId=${workEffortId}&partyId=${partyId}&roleTypeId=${roleTypeId}&fromDate=${fromDate}&statusId=PAS_COMPLETED" description="${uiLabelMap.CommonStatustoComplete}"/></field> + </form> <form name="listResourcesProjects" type="list" list-name="parties" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <row-actions> - <service service-name="getProject" result-map-name="result"> - <field-map field-name="projectId" env-name="workEffortId"/> - </service> - <set field="currentStatusId" from-field="result.projectInfo.currentStatusId"/> - <set field="Priority" from-field="result.projectInfo.priority"/> - <set field="plannedHours" from-field="result.projectInfo.plannedHours"/> - <set field="actualHours" from-field="result.projectInfo.actualHours"/> - <set field="CreatedStamp" from-field="result.projectInfo.createdStamp"/> - <set field="EstimatedStartDate" from-field="result.projectInfo.estimatedStartDate"/> - <set field="EstimatedCompletionDate" from-field="result.projectInfo.estimatedCompletionDate"/> - <set field="ActualStartDate" from-field="result.projectInfo.actualStartDate"/> - <set field="ActualCompletionDate" from-field="result.projectInfo.actualCompletionDate"/> - </row-actions> - <field entry-name="workEffortName" name="projectName" parameter-name="workEffortName" title="${uiLabelMap.CommonName}" widget-style="buttontext"> - <hyperlink target="projectView?projectId=${workEffortId}" description="${workEffortName}[${workEffortId}]"/> - </field> - <field name="currentStatusId" title="${uiLabelMap.CommonStatus}"> - <display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/> - </field> - <field name="Priority" widget-area-style="centered"><display description="${Priority}"/></field> - <field name="EstimatedStartDate" widget-area-style="centered"><display type="date"/></field> - <field name="EstimatedCompletionDate" widget-area-style="centered"><display type="date"/></field> - <field name="ActualStartDate" title="startDate"><display type="date"/></field> - <field name="ActualCompletionDate" title="completionDate"><display type="date"/></field> - <field name="plannedHours" widget-area-style="centered"><display/></field> - <field name="actualHours" widget-area-style="centered"><display/></field> - <field name="CreatedStamp" title="CreatedStamp"><display type="date"/></field> - </form> + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + <row-actions> + <service service-name="getProject" result-map-name="result"> + <field-map field-name="projectId" env-name="workEffortId"/> + </service> + <set field="currentStatusId" from-field="result.projectInfo.currentStatusId"/> + <set field="Priority" from-field="result.projectInfo.priority"/> + <set field="plannedHours" from-field="result.projectInfo.plannedHours"/> + <set field="actualHours" from-field="result.projectInfo.actualHours"/> + <set field="CreatedStamp" from-field="result.projectInfo.createdStamp"/> + <set field="EstimatedStartDate" from-field="result.projectInfo.estimatedStartDate"/> + <set field="EstimatedCompletionDate" from-field="result.projectInfo.estimatedCompletionDate"/> + <set field="ActualStartDate" from-field="result.projectInfo.actualStartDate"/> + <set field="ActualCompletionDate" from-field="result.projectInfo.actualCompletionDate"/> + </row-actions> + <field entry-name="workEffortName" name="projectName" parameter-name="workEffortName" title="${uiLabelMap.CommonName}" widget-style="buttontext"> + <hyperlink target="projectView?projectId=${workEffortId}" description="${workEffortName}[${workEffortId}]"/> + </field> + <field name="currentStatusId" title="${uiLabelMap.CommonStatus}"> + <display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/> + </field> + <field name="Priority" widget-area-style="centered"><display description="${Priority}"/></field> + <field name="EstimatedStartDate" widget-area-style="centered"><display type="date"/></field> + <field name="EstimatedCompletionDate" widget-area-style="centered"><display type="date"/></field> + <field name="ActualStartDate" title="startDate"><display type="date"/></field> + <field name="ActualCompletionDate" title="completionDate"><display type="date"/></field> + <field name="plannedHours" widget-area-style="centered"><display/></field> + <field name="actualHours" widget-area-style="centered"><display/></field> + <field name="CreatedStamp" title="CreatedStamp"><display type="date"/></field> + </form> <form name="AddResourceProjectParty" target="addWorkEffortPartyAssign" title="" type="single" - header-row-style="header-row" default-table-style="basic-table"> - <field name="projectId"><hidden/></field> - <field name="statusId"><hidden value="PRTYASGN_ASSIGNED"/></field> - <field name="workEffortId"><hidden value="${workEffortId}"/></field> - <field name="partyId"><hidden/></field> - <field use-when="workEffortId==projectId" name="workEffortId" entry-name="test" title="${uiLabelMap.ProjectMgrProjectName}"><!-- project level --> - <drop-down allow-empty="false"> - <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-options> - </drop-down> - </field> - <field use-when="project==null" name="currentStatusId"><hidden value="_NA_"/></field> - <field entry-name="test" name="roleTypeId" title="${uiLabelMap.PartyRoleType}"> - <drop-down> - <entity-options entity-name="RoleType" description="${description}"> - <entity-constraint name="parentTypeId" value="PROJECT_TEAM"/> - <entity-order-by field-name="description"/> - </entity-options> - </drop-down> - </field> - <field entry-name="test" name="fromDate"><date-time type="date"/></field> - <field entry-name="test" name="thruDate"><date-time type="date"/></field> - <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> - </form> + header-row-style="header-row" default-table-style="basic-table"> + <field name="projectId"><hidden/></field> + <field name="statusId"><hidden value="PRTYASGN_ASSIGNED"/></field> + <field name="workEffortId"><hidden value="${workEffortId}"/></field> + <field name="partyId"><hidden/></field> + <field use-when="workEffortId==projectId" name="workEffortId" entry-name="test" title="${uiLabelMap.ProjectMgrProjectName}"><!-- project level --> + <drop-down allow-empty="false"> + <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-options> + </drop-down> + </field> + <field use-when="project==null" name="currentStatusId"><hidden value="_NA_"/></field> + <field entry-name="test" name="roleTypeId" title="${uiLabelMap.PartyRoleType}"> + <drop-down> + <entity-options entity-name="RoleType" description="${description}"> + <entity-constraint name="parentTypeId" value="PROJECT_TEAM"/> + <entity-order-by field-name="description"/> + </entity-options> + </drop-down> + </field> + <field entry-name="test" name="fromDate"><date-time type="date"/></field> + <field entry-name="test" name="thruDate"><date-time type="date"/></field> + <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> + </form> <form name="AddResourceTaskParty" target="addTaskPartyAssign" title="" type="single" - header-row-style="header-row" default-table-style="basic-table"> - <field name="projectId"><hidden/></field> - <field name="statusId"><hidden value="PRTYASGN_ASSIGNED"/></field> - <field name="workEffortId"><hidden value="${workEffortId}"/></field> - <field name="partyId"><hidden/></field> - <field entry-name="test" name="workEffortId" title="${uiLabelMap.ProjectMgrTaskName}"><!-- task level --> - <drop-down allow-empty="false"> - <entity-options entity-name="ProjectPartyAndPhaseAndTask" description="${workEffortName} (${phaseName}-${projectName})"> - <entity-constraint name="partyId" env-name="parameters.partyId"/> - <entity-constraint name="workEffortTypeId" value="TASK"/> - <entity-constraint name="currentStatusId" operator="equals" value="PTS_CREATED"/> - </entity-options> - </drop-down> - </field> - <field entry-name="test" name="roleTypeId" title="${uiLabelMap.PartyRoleType}"> - <drop-down> - <entity-options entity-name="RoleType" description="${description}"> - <entity-constraint name="parentTypeId" value="PROJECT_TEAM"/> - <entity-order-by field-name="description"/> - </entity-options> - </drop-down> - </field> - <field entry-name="test" name="fromDate"><date-time type="date"/></field> - <field entry-name="test" name="thruDate"><date-time type="date"/></field> - <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> - </form> + header-row-style="header-row" default-table-style="basic-table"> + <field name="projectId"><hidden/></field> + <field name="statusId"><hidden value="PRTYASGN_ASSIGNED"/></field> + <field name="workEffortId"><hidden value="${workEffortId}"/></field> + <field name="partyId"><hidden/></field> + <field entry-name="test" name="workEffortId" title="${uiLabelMap.ProjectMgrTaskName}"><!-- task level --> + <drop-down allow-empty="false"> + <entity-options entity-name="ProjectPartyAndPhaseAndTask" description="${workEffortName} (${phaseName}-${projectName})"> + <entity-constraint name="partyId" env-name="parameters.partyId"/> + <entity-constraint name="workEffortTypeId" value="TASK"/> + <entity-constraint name="currentStatusId" operator="equals" value="PTS_CREATED"/> + </entity-options> + </drop-down> + </field> + <field entry-name="test" name="roleTypeId" title="${uiLabelMap.PartyRoleType}"> + <drop-down> + <entity-options entity-name="RoleType" description="${description}"> + <entity-constraint name="parentTypeId" value="PROJECT_TEAM"/> + <entity-order-by field-name="description"/> + </entity-options> + </drop-down> + </field> + <field entry-name="test" name="fromDate"><date-time type="date"/></field> + <field entry-name="test" name="thruDate"><date-time type="date"/></field> + <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> + </form> </forms> Propchange: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml ------------------------------------------------------------------------------ keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml |
Free forum by Nabble | Edit this page |