git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835270 13f79535-47bb-0310-9956-ffa450edef68
80 lines
4.1 KiB
XML
80 lines
4.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="main">
|
|
<section>
|
|
<actions>
|
|
<set field="tabButtonItem" value="find"/>
|
|
<entity-and entity-name="WorkEffortAndPartyAssign" list="myTasks" filter-by-date="true">
|
|
<field-map field-name="partyId" from-field="userLogin.partyId"/>
|
|
<field-map field-name="statusId" value="PRTYASGN_ASSIGNED"/>
|
|
<field-map field-name="workEffortTypeId" value="TASK"/>
|
|
<field-map field-name="currentStatusId" value="CAL_ACCEPTED"/>
|
|
<field-map field-name="workEffortParentId" from-field="null"/>
|
|
</entity-and>
|
|
<entity-and entity-name="WorkEffortAndPartyAssign" list="tasksAssignedByMe" filter-by-date="true">
|
|
<field-map field-name="assignedByUserLoginId" from-field="userLogin.userLoginId"/>
|
|
<field-map field-name="statusId" value="PRTYASGN_ASSIGNED"/>
|
|
<field-map field-name="workEffortTypeId" value="TASK"/>
|
|
<field-map field-name="currentStatusId" value="CAL_ACCEPTED"/>
|
|
<field-map field-name="workEffortParentId" from-field="null"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonEventDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.SfaTaskAssignedToMe}" navigation-form-name="MyTasks">
|
|
<include-form name="MyTasks" location="component://marketing/widget/sfa/forms/EventForms.xml"/>
|
|
</screenlet>
|
|
<screenlet title="${uiLabelMap.SfaTaskAssignedByMe}" navigation-form-name="MyTasks">
|
|
<include-form name="TasksAssignedByMe" location="component://marketing/widget/sfa/forms/EventForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditEvent">
|
|
<section>
|
|
<actions>
|
|
<entity-one entity-name="WorkEffort" value-field="workEffort"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonEventDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.WorkEffortAddCalendarEvent}">
|
|
<include-form name="EditEvent" location="component://marketing/widget/sfa/forms/EventForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |