Files
ofbiz-plugins/projectmgr/widget/ProjectScreens.xml
T

693 lines
43 KiB
XML

<?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.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
<screen name="ListSubProjects">
<section>
<actions>
<set field="titleProperty" value="PageTitleFindProject"/>
<set field="tabButtonItem" value="subprojects"/>
<set field="labelTitleProperty" value="ProjectMgrProjectName"/>
<set field="projectId" from-field="parameters.projectId" default-value="${parameters.workEffortId}"/>
<script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListProjects.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleListSubProjects}</label></container>
<container style="screenlet-body">
<include-form name="ListProjects" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleAddSubProject}</label></container>
<container style="screenlet-body">
<include-form name="AddSubProject" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="FindResource">
<section>
<actions>
<set field="titleProperty" value="PageTitleFindResource"/>
<set field="labelTitleProperty" value="ProjectMgrResourceName"/>
<set field="workEffortId" from-field="parameters.projectId"/>
<entity-and entity-name="PartyRoleAndPartyDetail" list-name="resources">
<field-map field-name="roleTypeId" value="PROJECT_TEAM"/>
<order-by field-name="lastName"/>
<order-by field-name="groupName"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonResourceDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<!--container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleFindResource}</label></container>
<container style="screenlet-body">
<include-form name="FindResource" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container-->
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleListResources}</label></container>
<container style="screenlet-body">
<include-form name="ListResources" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleAddResource}</label></container>
<container style="screenlet-body">
<include-form name="AddResource" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="FindProject">
<section>
<actions>
<set field="titleProperty" value="PageTitleFindProject"/>
<set field="labelTitleProperty" value="ProjectMgrProjectName"/>
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/workeffort/control/FindProject"/>
<set field="workEffortId" from-field="parameters.projectId"/>
<script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListProjects.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleEditProject} ${uiLabelMap.CommonInformation}</label></container>
<container style="screenlet-body">
<include-form name="FindProject" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
<container style="button-bar"><link target="EditProject" text="${uiLabelMap.ProjectMgrNewProject}" style="buttontext"/></container>
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleEditProject} ${uiLabelMap.CommonInformation}</label></container>
<container style="screenlet-body">
<include-form name="ListProjects" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProject">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProject"/>
<set field="tabButtonItem" value="editproject"/>
<set field="labelTitleProperty" value="PageTitleEditProject"/>
<set field="projectId" from-field="parameters.projectId" default-value="${parameters.workEffortId}"/>
<service service-name="getProject" result-map-name="result">
<field-map field-name="projectId" env-name="projectId"/>
</service>
<set field="project" from-field="result.projectInfo"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleEditProject} ${uiLabelMap.CommonInformation}</label></container>
<container style="screenlet-body">
<include-form name="EditProject" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="projectBilling">
<section>
<actions>
<set field="titleProperty" value="PageTitleProjectBilling"/>
<set field="tabButtonItem" value="billing"/>
<set field="labelTitleProperty" value="PageTitleProjectBilling"/>
<set field="projectId" from-field="parameters.projectId" default-value="${parameters.workEffortId}"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleHoursNotYetBilled} ${uiLabelMap.CommonInformation}</label></container>
<container style="screenlet-body">
<include-form name="hoursNotYetBilled" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ChildWorkEfforts">
<section>
<actions>
<set field="titleProperty" value="PageTitleListWorkEfforts"/>
<set field="tabButtonItem" value="treeDetails"/>
<set field="labelTitleProperty" value="PageTitleListWorkEfforts"/>
<set field="trail" from-field="parameters.trail" default-value="${parameters.workEffortId}"/>
<set field="workEffortId" from-field="parameters.WorkEffortId" default-value="parameters.workEffortIdForm"/>
<set field="workEffortIdFrom" from-field="parameters.workEffortId"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleTreeWorkEfforts}</label></container>
<container style="screenlet-body">
<!--container><label style="head1">${uiLabelMap.PageTitleTreeWorkEfforts}</label></container-->
<container><link text="${uiLabelMap.WorkEffortCreate}" target="EditWorkEffort?DONE_PAGE=${donePage}" style="linktext"/></container>
<include-tree name="TreeWorkEffort" location="component://projectmgr/widget/WorkEffortTrees.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="WorkEffortTreeLine">
<section>
<actions>
<set field="workEffortId" from-field="workEffortIdFrom" default-value="${workEffort.workEffortId}"/>
<set field="tabButtonItem" value="treeDetails"/>
<entity-one entity-name="WorkEffort" value-name="workEffort"/>
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="ChildWorkEfforts?workEffortId=${workEffort.workEffortId}"/>
</actions>
<widgets>
<label text=" ${workEffort.workEffortName} - ${workEffort.description}" style="tabletext"/>
<link target="EditWorkEffort?workEffortId=${workEffort.workEffortId}" text="${workEffort.workEffortId}" style="buttontext"/>
<link target="AddProjectAndAssoc?workEffortIdFrom=${workEffort.workEffortId}" text="${uiLabelMap.WorkEffortAddChild}" style="buttontext"></link>
<link target="AddProjectAndAssoc?workEffortIdFrom=${workEffort.workEffortId}" text="${uiLabelMap.WorkEffortAddExistingWorkEffortChild}" style="buttontext"></link>
<section>
<condition><not><if-empty field-name="workEffortAssoc"/></not></condition>
<widgets>
<link target="EditProjectAndAssoc?workEffortIdFrom=${workEffortAssoc.workEffortIdFrom}&amp;workEffortIdTo=${workEffortAssoc.workEffortIdTo}&amp;workEffortAssocTypeId=${workEffortAssoc.workEffortAssocTypeId}&amp;fromDate=${workEffortAssoc.fromDate}&amp;DONE_PAGE=${donePage}" text="Edit Assoc" style="buttontext"></link>
<link target="EditProjectAndAssoc?workEffortIdFrom=${workEffortAssoc.workEffortIdFrom}&amp;workEffortIdTo=${workEffortAssoc.workEffortIdTo}&amp;workEffortAssocTypeId=${workEffortAssoc.workEffortAssocTypeId}&amp;fromDate=${workEffortAssoc.fromDate}&amp;DONE_PAGE=${donePage}" text="Edit Assoc Detail" style="buttontext"></link>
</widgets>
</section>
</widgets>
</section>
</screen>
<screen name="EditProjectAndAssoc">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditProject"/>
<set field="labelTitleProperty" value="PageTitleEditProject"/>
<set field="tabButtonItem" value="treeDetails"/>
<set field="donePage" from-field="parameters.DONE_PAGE"/>
<set field="workEffortId" from-field="parameters.workEffortIdTo"/>
<set field="workEffortIdTo" from-field="parameters.workEffortIdTo"/>
<set field="workEffortIdFrom" from-field="parameters.workEffortIdFrom"/>
<set field="fromDate" from-field="parameters.fromDate"/>
<entity-one entity-name="WorkEffort" value-name="project"/>
<entity-one entity-name="WorkEffortAssoc" value-name="workEffortAssoc"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container><label style="head1">${uiLabelMap.${titleProperty}}</label></container>
<platform-specific>
<html><html-template location="component://projectmgr/webapp/projectmgr/project/editprojectandassoc.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProjectTasks">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditTask"/>
<set field="tabButtonItem" value="tasks"/>
<set field="labelTitleProperty" value="PageTitleFindTask"/>
<set field="projectId" from-field="parameters.projectId"/>
<entity-and entity-name="ProjectAndPhaseAndTask" list-name="tasks">
<field-map field-name="projectId" env-name="parameters.projectId"/>
<order-by field-name="phaseName"/>
<order-by field-name="workEffortName"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
<label style="boxhead">${uiLabelMap.${titleProperty}}</label>
</container>
<container style="screenlet-body">
<include-form name="EditProjectTasks" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
<container style="lefthalf">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleAddTask}</label></container>
<container style="screenlet-body">
<include-form name="AddProjectTask" location="component://projectmgr/widget/forms/TaskForms.xml"/>
</container>
</container>
</container>
<container style="righthalf">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleAddPhase}</label></container>
<container style="screenlet-body">
<include-form name="AddProjectPhase" location="component://projectmgr/widget/forms/TaskForms.xml"/>
</container>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditTask">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditTask"/>
<set field="tabButtonItem" value="edittask"/>
<set field="labelTitleProperty" value="ProjectMgrTaskName"/>
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/workeffort/control/FindTasks"/>
<set field="projectId" from-field="parameters.projectId"/>
<set field="workEffortId" from-field="parameters.workEffortId"/>
<set field="workEffortAssocTypeId" from-field="parameters.workEffortAssocTypeId"/>
<set field="workEffortTypeId" from-field="parameters.workEffortTypeId"/>
<entity-one entity-name="WorkEffort" value-name="task"/>
</actions>
<widgets>
<decorator-screen name="CommonTaskDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<condition>
<if-empty field-name="workEffortAssocTypeId"/>
</condition>
<!-- Add a new Task -->
<widgets>
<label style="head1">${uiLabelMap.PageTitleEditTask}</label>
<platform-specific>
<html><html-template location="component://projectmgr/webapp/projectmgr/project/edittask.ftl"/></html>
</platform-specific>
</widgets>
<fail-widgets>
<section>
<condition>
<not>
<if-empty field-name="workEffortIdFrom"/>
</not>
</condition>
<!-- Edit an existing Task -->
<widgets>
<platform-specific>
<html><html-template location="component://projectmgr/webapp/projectmgr/project/edittaskandassoc.ftl"/></html>
</platform-specific>
</widgets>
<!-- Edit an existing SubTask -->
<fail-widgets>
<container><link text="${uiLabelMap.CommonGoBack}" target="FindTask?workEffortId=${task.workEffortParentId}&amp;workEffortTypeId=TASK" style="buttontext"/></container>
<label style="head1">${uiLabelMap.ProjectMgrSubTaskName}: ${task.workEffortName}</label>
<container><label style="head1">${uiLabelMap.PageTitleEditSubTask}</label></container>
<platform-specific>
<html><html-template location="component://projectmgr/webapp/projectmgr/project/edittaskandassoc.ftl"/></html>
</platform-specific>
</fail-widgets>
</section>
</fail-widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="FindPhase">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditPhase"/>
<set field="tabButtonItem" value="phases"/>
<set field="labelTitleProperty" value="PageTitleFindPhase"/>
<set field="projectId" from-field="parameters.projectId"/>
<service service-name="getProjectPhaseList" result-map-name="result">
<field-map field-name="projectId" env-name="projectId"/>
</service>
<set field="phases" from-field="result.phaseList"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.${titleProperty}}</label></container>
<container style="screenlet-body">
<!--container style="button-bar"><link target="EditTask?projectId=${parameters.projectId}&amp;workEffortTypeId=TASK&amp;workEffortAssocTypeId=WORK_EFF_BREAKDOWN" text="${uiLabelMap.ProjectMgrNewTask}" style="buttontext"/></container-->
<include-form name="ListPhases" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleAddPhase}</label></container>
<container style="screenlet-body">
<include-form name="AddPhase" location="component://projectmgr/widget/forms/TaskForms.xml"/>
</container>
</container>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProjectParties">
<section>
<actions>
<set field="titleProperty" value="PageTitleListWorkEffortPartyAssigns"/>
<set field="tabButtonItem" value="parties"/>
<set field="labelTitleProperty" value="PageTitleListWorkEffortPartyAssigns"/>
<set field="workEffortId" from-field="parameters.projectId" default-value="parameters.workEffortId"/>
<set field="projectId" from-field="workEffortId"/>
<entity-one entity-name="WorkEffortPartyAssignment" value-name="workEffortPartyAssignment"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleListPartyAssigns}</label></container>
<container style="screenlet-body">
<include-form name="EditWorkEffortPartyAssigns" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleAddPartyAssign}</label></container>
<container style="screenlet-body">
<include-form name="AddWorkEffortPartyAssign" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProjectSkills">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditSkill"/>
<set field="tabButtonItem" value="projectskills"/>
<set field="labelTitleProperty" value="PageTitleEditSkill"/>
<set field="workEffortId" from-field="parameters.projectId" default-value="${parameters.workEffortId}"/>
<entity-and entity-name="WorkEffortSkillStandard" list-name="workEffortSkillStandardList">
<field-map field-name="workEffortId"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.${titleProperty}}</label></container>
<container style="screenlet-body">
<include-form name="EditProjectSkills" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
<platform-specific>
<html><html-template location="component://projectmgr/webapp/projectmgr/project/editProjectskills.ftl"/></html>
</platform-specific>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditPartySkills">
<section>
<actions>
<set field="tabButtonItem" value="parties"/>
<set field="partyId" from-field="parameters.partyId"/>
<set field="workEffortId" from-field="parameters.projectId"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container>
<link target="EditPartySkill" text="${uiLabelMap.HumanResNewPartySkill}" style="buttontext"/>
</container>
<container style="boxoutside">
<container style="screenlet-header">
<label style="boxhead">${uiLabelMap.HumanResEditPartySkill}</label>
</container>
<include-form name="ListPartySkills" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
<include-form name="EditPartySkill" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditTimeEntries">
<section>
<actions>
<set field="titleProperty" value="PageTitleListTimeEntries"/>
<set field="tabButtonItem" value="tasks"/>
<set field="labelTitleProperty" value="PageTitleEditSkill"/>
<set field="workEffortId" from-field="parameters.workEffortId"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.${titleProperty}} ${workEffortId}</label></container>
<container style="screenlet-body">
<include-form name="ListTimeEntries" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
<platform-specific>
<html><html-template location="component://projectmgr/webapp/projectmgr/project/EditTimeEntry.ftl"/></html>
</platform-specific>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProjectNotes">
<section>
<actions>
<set field="titleProperty" value="PageTitleListProjectNotes"/>
<set field="tabButtonItem" value="notes"/>
<set field="labelTitleProperty" value="PageTitleListProjectNotes"/>
<set field="workEffortId" from-field="parameters.projectId" default-value="${parameters.workEffortId}"/>
<set field="parameters.projectId" from-field="workEffortId"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.${titleProperty}}</label></container>
<container style="screenlet-body">
<include-form name="ListProjectNotes" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleAddProjectNotes}</label></container>
<container style="screenlet-body">
<include-form name="AddWorkEffortNote" location="component://workeffort/widget/WorkEffortForms.xml"/>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ProjectView">
<section>
<actions>
<set field="tabButtonItem" value="projectView"/>
<set field="projectId" from-field="parameters.projectId" default-value="parameters.workEffortId"/>
<service service-name="getProject" result-map-name="result">
<field-map field-name="projectId" env-name="projectId"/>
</service>
<set field="project" from-field="result.projectInfo"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<container style="lefthalf">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead" text="${uiLabelMap.PageTitleProjectInformation}"/></container>
<container style="screenlet-body">
<include-form name="ProjectInfo" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
<include-screen name="PhasesInfo"/>
<include-screen name="TasksInfo"/>
</container>
<container style="righthalf">
<include-screen name="SubProjectsInfo"/>
<include-screen name="PartiesInfo"/>
<include-screen name="NoteInfo"/>
</container>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ganttChart">
<section>
<actions>
<set field="tabButtonItem" value="ganttchart"/>
<set field="layoutSettings.javaScripts[+0]" value="/images/dojo/dojo.js" global="true"/>
<script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.bsh"/>
</actions>
<widgets>
<label text="${project}"></label>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar"><label style="boxhead" text="${uiLabelMap.PageTitleProjectGanttChart}"/></container>
<container style="screenlet-body">
<platform-specific>
<html><html-template location="component://projectmgr/webapp/projectmgr/project/gantChart.ftl"/></html>
</platform-specific>
</container>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="SubProjectsInfo">
<section>
<actions>
<set field="parameters.projectId" from-field="parameters.projectId" default-value="${parameters.workEffortId}"/>
<script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/FindProject.bsh"/>
</actions>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar">
<label style="boxhead">${uiLabelMap.ProjectMgrSubProjectList}</label>
</container>
<container style="screenlet-body">
<include-form name="ListProjects" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</widgets>
</section>
</screen>
<screen name="PhasesInfo">
<section>
<actions>
<service service-name="getProjectPhaseList" result-map-name="result">
<field-map field-name="projectId" env-name="projectId"/>
</service>
<set field="phases" from-field="result.phaseList"/>
</actions>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar">
<label style="boxhead" text="">${uiLabelMap.ProjectMgrPhaseList}</label>
</container>
<container style="screenlet-body">
<include-form name="ListPhaseInfo" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</widgets>
</section>
</screen>
<screen name="TasksInfo">
<section>
<actions>
<service service-name="getProjectTaskList" result-map-name="result">
<field-map field-name="projectId" env-name="projectId"/>
</service>
<set field="tasks" from-field="result.taskList"/>
</actions>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar">
<label style="boxhead" text="">${uiLabelMap.ProjectMgrTaskList}</label>
</container>
<container style="screenlet-body">
<include-form name="ListTaskInfo" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</widgets>
</section>
</screen>
<screen name="PartiesInfo">
<section>
<actions>
<service service-name="getProjectsByParties" result-map-name="result">
<field-map field-name="projectId" env-name="projectId"/>
</service>
<set field="parties" from-field="result.projectParties"/>
</actions>
<widgets>
<container style="screenlet">
<container style="screenlet-title-bar">
<label style="boxhead" text="">${uiLabelMap.ProjectMgrProjectTeam}</label>
</container>
<container style="screenlet-body">
<include-form name="ListProjectParties" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</container>
</container>
</widgets>
</section>
</screen>
<screen name="NoteInfo">
<section>
<actions>
<set field="workEffortId" from-field="parameters.workEffortId"/>
<entity-and entity-name="WorkEffortNoteAndData" list-name="workEffortNoteandDetails">
<field-map field-name="workEffortId" env-name="workEffortId"/>
<order-by field-name="-noteDateTime"/>
</entity-and>
</actions>
<widgets>
<platform-specific>
<html><html-template location="component://projectmgr/webapp/projectmgr/project/summary/noteinfo.ftl"/></html>
</platform-specific>
</widgets>
</section>
</screen>
</screens>