I put also some svn:ignore for shark build and lib diretories and assetmaint/build I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit. I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) ! git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
380 lines
21 KiB
XML
380 lines
21 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://www.ofbiz.org/dtds/widget-screen.xsd">
|
|
<screen name="CommonTrackingCodeDecorator">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="MarketingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="tabButtonItem" value="Tracking"/>
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
<entity-one entity-name="TrackingCode" value-name="trackingCode"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="component://marketing/widget/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<!-- do check for MARKETING, _VIEW permission -->
|
|
<condition>
|
|
<if-has-permission permission="MARKETING" action="_VIEW"/>
|
|
</condition>
|
|
<widgets>
|
|
<section>
|
|
<widgets>
|
|
<include-menu name="TrackingCodeTabBar" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeMenus.xml"/>
|
|
</widgets>
|
|
</section>
|
|
|
|
<decorator-section-include name="body"/>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="head3">${uiLabelMap.MarketingViewPermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditTrackingCode">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditTrackingCode"/>
|
|
<set field="tabButtonItem" value="TrackingCode"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditTrackingCode"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListTrackingCode"/>
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
<entity-one entity-name="TrackingCode" value-name="trackingCode"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field-name="trackingCode"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<container><label style="head1">${uiLabelMap.PageTitleEditTrackingCode}</label></container>
|
|
<container><link text="${uiLabelMap.TrackingCodeCreate}" target="/EditTrackingCode?DONE_PAGE=${donePage}" style="buttontext"/></container>
|
|
<include-form name="EditTrackingCode" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="head1">${uiLabelMap.PageTitleAddTrackingCode}</label>
|
|
<include-form name="EditTrackingCode" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListTrackingCode">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleListTrackingCode"/>
|
|
<set field="tabButtonItem" value="TrackingCode"/>
|
|
<set field="labelTitleProperty" value="PageTitleListTrackingCode"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListTrackingCode"/>
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
<set field="entityName" value="TrackingCode"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleListTrackingCode}</label></container>
|
|
<container><link text="${uiLabelMap.TrackingCodeCreate}" target="/EditTrackingCode?DONE_PAGE=${donePage}" style="buttontext"/></container>
|
|
<include-form name="ListTrackingCode" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="FindTrackingCode">
|
|
<section>
|
|
<actions>
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<container><label style="head1"> ${uiLabelMap.PageTitleFindTrackingCode}</label></container>
|
|
<include-form name="FindTrackingCode" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditTrackingCodeOrder">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditTrackingCodeOrder"/>
|
|
<set field="tabButtonItem" value="TrackingCodeOrder"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditTrackingCodeOrder"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListTrackingCode"/>
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
<set field="orderId" from-field="parameters.partyId"/>
|
|
<set field="trackingCodeTypeId" from-field="parameters.trackingCodeTypeId"/>
|
|
<set field="isBillable" from-field="parameters.isBillable"/>
|
|
<entity-one entity-name="TrackingCodeOrder" value-name="trackingCodeOrder"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleEditTrackingCodeOder}</label></container>
|
|
<include-form name="EditTrackingCodeOrder" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListTrackingCodeOrders">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleListTrackingCodeOrder"/>
|
|
<set field="tabButtonItem" value="TrackingCodeOrder"/>
|
|
<set field="labelTitleProperty" value="PageTitleListTrackingCodeOrder"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListTrackingCode"/>
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
<set field="trackingCodeTypeId" from-field="parameters.trackingCodeTypeId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleListTrackingCodeOrdersFor} ${uiLabelMap.TrackingCodeTrackingCodeId}=${trackingCodeId}</label></container>
|
|
<include-form name="ListTrackingCodeOrders" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="FindTrackingCodeOrders">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFindTrackingCodeOrder"/>
|
|
<set field="tabButtonItem" value="TrackingCodeOrder"/>
|
|
<set field="labelTitleProperty" value="PageTitleFindTrackingCodeOrder"/>
|
|
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
<set field="trackingCodeTypeId" from-field="parameters.trackingCodeTypeId"/>
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/EditTrackingCode?trackingCodeId=${trackingCodeId}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleFindTrackingCodeOrder}</label></container>
|
|
<include-form name="FindTrackingCodeOrders" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditTrackingCodeVisit">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditTrackingCodeVisit"/>
|
|
<set field="tabButtonItem" value="TrackingCodeVisit"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditTrackingCodeVisit"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListTrackingCode"/>
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
<set field="communicationEventId" from-field="parameters.communicationEventId"/>
|
|
<entity-one entity-name="CommunicationEvent" value-name="communicationEvent"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleEditTrackingCodeVisit}</label></container>
|
|
<include-form name="EditTrackingCodeVisit" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListTrackingCodeVisits">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleListTrackingCodeVisit"/>
|
|
<set field="tabButtonItem" value="TrackingCodeVisit"/>
|
|
<set field="labelTitleProperty" value="PageTitleListTrackingCodeVisit"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListTrackingCode"/>
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
<set field="entityName" value="TrackingCodeVisit"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleListTrackingCodeFor} ${uiLabelMap.TrackingCodeTrackingCodeId}=${trackingCodeId}</label></container>
|
|
<include-form name="ListTrackingCodeVisits" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="FindTrackingCodeVisits">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFindTrackingCodeVisits"/>
|
|
<set field="tabButtonItem" value="TrackingCodeVisit"/>
|
|
<set field="labelTitleProperty" value="PageTitleFindTrackingCodeVisits"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListTrackingCode"/>
|
|
<set field="trackingCodeId" from-field="parameters.trackingCodeId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleFindTrackingCodeVisit}</label></container>
|
|
<include-form name="FindTrackingCodeVisits" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="LookupVisit">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleLookupVisit"/>
|
|
<set field="tabButtonItem" value="TrackingCode"/>
|
|
<set field="labelTitleProperty" value="PageTitleLookupVisit"/>
|
|
<set field="title" value="${uiLabelMap.PageTitleLookupVisit}" />
|
|
<set field="entityName" value="CommunicationEvent"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleLookupTrackingCode}</label></container>
|
|
<include-form name="LookupVisit" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
<container><label style="head1"><br/><br/></label></container>
|
|
<include-form name="ListLookupVisit" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupTrackingCode">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleLookupTrackingCode"/>
|
|
<set field="tabButtonItem" value="TrackingCode"/>
|
|
<set field="labelTitleProperty" value="PageTitleLookupTrackingCode"/>
|
|
<set field="title" value="${uiLabelMap.PageTitleLookupTrackingCode}" />
|
|
<set field="entityName" value="TrackingCode"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleLookupTrackingCode}</label></container>
|
|
<include-form name="LookupTrackingCode" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
<container><label style="head1"><br/><br/></label></container>
|
|
<include-form name="ListLookupTrackingCode" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditTrackingCodeType">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditTrackingCodeType"/>
|
|
<set field="tabButtonItem" value="TrackingCodeType"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditTrackingCodeType"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListTrackingCodeType"/>
|
|
<set field="trackingCodeTypeId" from-field="parameters.trackingCodeTypeId"/>
|
|
<entity-one entity-name="TrackingCodeType" value-name="trackingCodeType"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field-name="trackingCodeType"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<container><label style="head1">${uiLabelMap.PageTitleEditTrackingCodeType}</label></container>
|
|
<container><link text="${uiLabelMap.TrackingCodeTypeCreate}" target="/EditTrackingCodeType?DONE_PAGE=${donePage}" style="buttontext"/></container>
|
|
<include-form name="EditTrackingCodeType" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="head1">${uiLabelMap.PageTitleAddTrackingCodeType}</label>
|
|
<include-form name="EditTrackingCodeType" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ListTrackingCodeType">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleListTrackingCodeType"/>
|
|
<set field="tabButtonItem" value="TrackingCodeType"/>
|
|
<set field="labelTitleProperty" value="PageTitleListTrackingCodeType"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/marketing/control/ListTrackingCodeType"/>
|
|
<set field="trackingCodeTypeId" from-field="parameters.trackingCodeTypeId"/>
|
|
<set field="entityName" value="TrackingCodeType"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTrackingCodeDecorator">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleListTrackingCodeType}</label></container>
|
|
<container><link text="${uiLabelMap.TrackingCodeTypeCreate}" target="/EditTrackingCodeType?DONE_PAGE=${donePage}" style="buttontext"/></container>
|
|
<include-form name="ListTrackingCodeType" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupTrackingCodeType">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleLookupTrackingCodeType"/>
|
|
<set field="tabButtonItem" value="TrackingCodeType"/>
|
|
<set field="labelTitleProperty" value="PageTitleLookupTrackingCodeType"/>
|
|
<set field="title" value="${uiLabelMap.PageTitleLookupTrackingCodeType}" />
|
|
<set field="entityName" value="TrackingCodeType"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<container><label style="head1">${uiLabelMap.PageTitleLookupTrackingCodeType}</label></container>
|
|
<include-form name="LookupTrackingCodeType" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
<container><label style="head1"><br/><br/></label></container>
|
|
<include-form name="ListLookupTrackingCodeType" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|