blob: b0ee0e880db2cf6fbc06669c976091f7f8c1ce07 [file] [log] [blame]
<?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" xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
<grid name="ListPartyContactLists" target="updateContactListParty"
separate-columns="false" header-row-style="header-row-2" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-and entity-name="ContactListParty">
<field-map field-name="partyId"/>
</entity-and>
</actions>
<field name="partyId"><hidden/></field>
<field name="contactListId" title="${uiLabelMap.PartyContactLists}">
<display-entity entity-name="ContactList" description="${contactListName}">
<sub-hyperlink target="/marketing/control/EditContactList" description="${contactListId}" target-type="inter-app" link-style="smallSubmit">
<parameter param-name="contactListId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="fromDate"><display/></field>
<field name="statusHistory">
<drop-down>
<option key="" description="-- ${uiLabelMap.CommonStatusHistory} --"/>
<entity-options entity-name="ContactListPartyAndStatus" key-field-name="statusId" description="${statusDate} ${description} [${uiLabelMap.CommonBy}: ${setByUserLoginId}] [${uiLabelMap.FormFieldTitle_optInVerifyCode}: ${optInVerifyCode}]">
<entity-constraint name="partyId" operator="equals" env-name="partyId"/>
<entity-constraint name="contactListId" operator="equals" env-name="contactListId"/>
<entity-constraint name="fromDate" operator="equals" env-name="fromDate"/>
<entity-order-by field-name="-statusDate"/>
</entity-options>
</drop-down>
</field>
<field name="thruDate"><date-time/></field>
<field name="statusId">
<drop-down>
<entity-options entity-name="StatusItem">
<entity-constraint name="statusTypeId" operator="equals" value="CONTACTLST_PARTY"/>
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="optInVerifyCode"><text size="10"/></field>
<field name="preferredContactMechId">
<drop-down allow-empty="true">
<entity-options entity-name="PartyAndContactMech" key-field-name="contactMechId" description="[${contactMechId}] [${infoString}] [${tnCountryCode}-${tnAreaCode}-${tnContactNumber}] [${paAddress1}, ${paAddress2}, ${paCity}, ${paStateProvinceGeoId}, ${paPostalCode}, ${paPostalCodeExt} ${paCountryGeoId}]">
<entity-constraint name="partyId" env-name="partyId"/>
<entity-order-by field-name="contactMechId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
</grid>
<form name="AddPartyContactList" type="single" target="createContactListParty"
header-row-style="header-row" default-table-style="basic-table">
<field name="contactListId"><lookup target-form-name="LookupContactList"/></field>
<field name="partyId"><hidden/></field>
<field name="fromDate" required-field="true"><date-time default-value="${nowTimestamp}"/></field>
<field name="thruDate"><date-time/></field>
<field name="statusId">
<drop-down no-current-selected-key="CLPT_PENDING">
<entity-options entity-name="StatusItem">
<entity-constraint name="statusTypeId" operator="equals" value="CONTACTLST_PARTY"/>
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="preferredContactMechId">
<drop-down allow-empty="true">
<entity-options entity-name="PartyAndContactMech" key-field-name="contactMechId" description="[${contactMechId}] [${infoString}] [${tnCountryCode}-${tnAreaCode}-${tnContactNumber}] [${paAddress1}, ${paAddress2}, ${paCity}, ${paStateProvinceGeoId}, ${paPostalCode}, ${paPostalCodeExt} ${paCountryGeoId}]">
<entity-constraint name="partyId" env-name="partyId"/>
<entity-order-by field-name="contactMechId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
</form>
<grid name="ListLookupContactList" target="LookupContactList" default-map-name="contactList"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="ContactList"/>
</actions>
<field name="contactListId" widget-style="smallSubmit">
<hyperlink description="${contactListId}" target="javascript:set_value('${contactListId}')" also-hidden="false" target-type="plain"/>
</field>
<field name="contactListName"><display/></field>
<field name="contactListTypeId"><display-entity entity-name="ContactListType"/></field>
<field name="contactMechTypeId" title="${uiLabelMap.PartyContactMechType}"><display-entity entity-name="ContactMechType"/></field>
<field name="marketingCampaignId"><display-entity entity-name="MarketingCampaign" description="${campaignName}"/></field>
</grid>
</forms>