applications/product/widget/catalog/ShippingScreens.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="https://ofbiz.apache.org/dtds/widget-screen.xsd">
<!-- QuantityBreak screens -->
<screen name="ListQuantityBreaks">
<section>
<actions>
<set field="titleProperty" value="PageTitleListQuantityBreaks"/>
<set field="activeSubMenuItem" value="ListQuantityBreaks"/>
<set field="labelTitleProperty" value="ProductQuantityBreaks"/>
<entity-condition entity-name="QuantityBreak" list="quantityBreaks">
<order-by field-name="quantityBreakId"/>
</entity-condition>
<entity-one entity-name="QuantityBreak" value-field="quantityBreak" auto-field-map="true"/>
</actions>
<widgets>
<decorator-screen name="CommonCarrierDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<include-form name="ListQuantityBreaks" location="component://product/widget/catalog/ShippingForms.xml"/>
</screenlet>
<screenlet title="${uiLabelMap.PageTitleEditQuantityBreaks}">
<include-form name="EditQuantityBreak" location="component://product/widget/catalog/ShippingForms.xml"/>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ListShipmentMethodTypes">
<section>
<actions>
<set field="titleProperty" value="PageTitleListShipmentMethodTypes"/>
<set field="activeSubMenuItem" value="ListShipmentMethodTypes"/>
<set field="labelTitleProperty" value="ProductShipmentMethodTypes"/>
<entity-condition entity-name="ShipmentMethodType" list="shipmentMethodTypes">
<order-by field-name="sequenceNum"/>
<order-by field-name="description"/>
</entity-condition>
<entity-one entity-name="ShipmentMethodType" value-field="shipmentMethodType" auto-field-map="true"/>
</actions>
<widgets>
<decorator-screen name="CommonShippingDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<include-form name="ListShipmentMethodTypes" location="component://product/widget/catalog/ShippingForms.xml"/>
</screenlet>
<screenlet title="${uiLabelMap.PageTitleEditShipmentMethodTypes}">
<include-form name="EditShipmentMethodType" location="component://product/widget/catalog/ShippingForms.xml"/>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ListCarrierShipmentMethods">
<section>
<actions>
<set field="titleProperty" value="PageTitleListCarrierShipmentMethods"/>
<set field="activeSubMenuItem" value="ListCarrierShipmentMethods"/>
<set field="labelTitleProperty" value="ProductCarrierShipmentMethods"/>
<entity-condition entity-name="CarrierShipmentMethod" list="carrierShipmentMethods">
<order-by field-name="sequenceNumber"/>
</entity-condition>
<entity-one entity-name="CarrierShipmentMethod" value-field="carrierShipmentMethod" auto-field-map="true"/>
</actions>
<widgets>
<decorator-screen name="CommonCarrierDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-menu name="CarrierSubTabBar" location="component://product/widget/catalog/CatalogMenus.xml"/>
<!-- <include-menu location="component://product/widget/catalog/ShippingMenu.xml" name=""/> -->
<screenlet>
<include-form name="ListCarrierShipmentMethods" location="component://product/widget/catalog/ShippingForms.xml"/>
</screenlet>
<screenlet title="${uiLabelMap.PageTitleEditCarrierShipmentMethods}">
<include-form name="EditCarrierShipmentMethod" location="component://product/widget/catalog/ShippingForms.xml"/>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="NewCarrier">
<section>
<actions>
<set field="titleProperty" value="PageTitleNewCarrier"/>
<set field="activeSubMenuItem" value="ListCarrierShipmentMethods"/>
<set field="labelTitleProperty" value="ProductNewCarrier"/>
</actions>
<widgets>
<decorator-screen name="CommonCarrierDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<include-form name="NewCarrier" location="component://product/widget/catalog/ShippingForms.xml"/>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>