applications/shop/widget/EmailContactListScreens.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
<screen name="ContactListVerifyEmail">
<section>
<actions>
<set field="titleProperty" value="EcommerceSubscriptionVerifyEmail"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseWebappPath}/control"/>
<entity-one entity-name="PartyNameView" value-field="partyName" auto-field-map="false">
<field-map field-name="partyId" from-field="contactListParty.partyId"/>
</entity-one>
</actions>
<widgets>
<decorator-screen name="ScipioEmailDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="body">
<platform-specific><email><html-template location="component://shop/templates/email/ContactListVerifyEmail.ftl"/></email></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="signupforcontactlist">
<section>
<actions>
<set field="partyId" from-field="userLogin.partyId"/>
<script location="component://shop/webapp/shop/WEB-INF/actions/customer/ContactList.groovy"/>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<decorator-screen name="ScipioEmailDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="body">
<platform-specific><email><html-template location="component://shop/webapp/shop/customer/miniSignUpForContactList.ftl"/></email></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ContactUsEmailNotification">
<section>
<actions>
<property-map resource="ShopUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<decorator-screen name="ScipioEmailDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="body">
<platform-specific><email><html-template location="component://shop/templates/email/ContactUsEmail.ftl"/></email></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ContactListSubscribeEmail">
<section>
<actions>
<entity-one entity-name="ContactList" value-field="contactList"/>
<entity-one entity-name="PartyNameView" value-field="partyName"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseWebappPath}/control"/>
</actions>
<widgets>
<decorator-screen name="ScipioEmailDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="body">
<platform-specific><email><html-template location="component://shop/templates/email/ContactListSubscribeEmail.ftl"/></email></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ContactListUnsubscribeVerifyEmail">
<section>
<actions>
<entity-one entity-name="ContactList" value-field="contactList"/>
<entity-one entity-name="PartyNameView" value-field="partyName"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseWebappPath}/control"/>
</actions>
<widgets>
<decorator-screen name="ScipioEmailDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="body">
<platform-specific><email><html-template location="component://shop/templates/email/ContactListUnsubscribeVerifyEmail.ftl"/></email></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ContactListUnsubscribeEmail">
<section>
<actions>
<entity-one entity-name="ContactList" value-field="contactList"/>
<entity-one entity-name="PartyNameView" value-field="partyName"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseWebappPath}/control"/>
</actions>
<widgets>
<decorator-screen name="ScipioEmailDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="body">
<platform-specific><email><html-template location="component://shop/templates/email/ContactListUnsubscribeEmail.ftl"/></email></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ContactListEmailTemplate">
<section>
<actions>
<entity-one entity-name="ContactList" value-field="contactList"/>
<entity-one entity-name="PartyNameView" value-field="partyName"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseWebappPath}/control"/>
</actions>
<widgets>
<decorator-screen name="ScipioEmailDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="body">
<platform-specific><email><html-template location="component://shop/templates/email/ContactListEmailTemplate.ftl"/></email></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>