git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@689347 13f79535-47bb-0310-9956-ffa450edef68
105 lines
6.1 KiB
XML
105 lines
6.1 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="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">
|
|
<screenlet id="AddResourcePanel" title="${uiLabelMap.PageTitleAddResource}" collapsible="true">
|
|
<include-form name="AddResource" location="component://projectmgr/widget/forms/ResourceForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListResources" location="component://projectmgr/widget/forms/ResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListUnBilledHours">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleListUnbilledHours"/>
|
|
<set field="tabButtonItem" value="ListUnBilledHours"/>
|
|
<set field="labelTitleProperty" value="ProjectMgrProjectName"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListUnBilledHoursResources.bsh"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonListResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet>
|
|
<screenlet title="${uiLabelMap.ProjectMgrUnbilledHours}">
|
|
<include-form name="ListUnBilledHours" location="component://projectmgr/widget/forms/ResourceForms.xml"/>
|
|
</screenlet>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="viewprofile">
|
|
<section>
|
|
<actions>
|
|
<set field="tabButtonItem" value="ResourcesProfile"/>
|
|
<set field="titleProperty" value="PartyProfile"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="labelTitleProperty" value="PartyTaxAuthInfos"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/prototypejs/prototype.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/prototypejs/control.progress_bar.js" global="true"/>
|
|
<set field="layoutSettings.styleSheets[]" value="/images/prototypejs/progress_bar.css" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/partymgr/js/PartyProfileContent.js" global="true"/>
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonListResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field-name="party"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<include-screen name="Party" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Contact" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="contactsAndAccounts" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="UserLogin" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Visits" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Notes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |