applications/order/widget/ordermgr/QuoteWorkEffortScreens.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="CommonQuoteDecorator">
<section>
<actions>
<set field="activeSubMenuItem" from-field="activeSubMenuItem" default-value="quote"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderAppDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<condition>
<not><if-empty field="quote"/></not>
</condition>
<widgets>
<include-menu name="QuoteTabBar" location="component://order/widget/ordermgr/OrderMenus.xml"/>
</widgets>
</section>
<label style="heading">[${quote.quoteId}] ${quote.description}</label>
<decorator-section-include name="body"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="AddQuoteWorkEffort">
<section>
<actions>
<set field="titleProperty" value="OrderCreateOrderQuoteWorkEfforts"/>
<set field="activeSubMenuItem" value="QuoteWorkEfforts"/>
<set field="labelTitleProperty" value="PageTitleAddQuoteWorkEffort"/>
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/workeffort/control/ListWorkEfforts"/>
<set field="quoteId" from-field="parameters.quoteId"/>
<entity-one entity-name="QuoteWorkEffort" value-field="quoteWorkEffort"/>
<entity-one entity-name="WorkEffort" value-field="workEffort"/>
<entity-one entity-name="Quote" value-field="quote"/>
</actions>
<widgets>
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<include-form name="AddQuoteWorkEffort" location="component://order/widget/ordermgr/QuoteWorkEffortForms.xml"/>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditQuoteWorkEffort">
<section>
<actions>
<set field="titleProperty" value="OrderOrderQuoteEditWorkEfforts"/>
<set field="activeSubMenuItem" value="QuoteWorkEfforts"/>
<set field="labelTitleProperty" value="PageTitleEditQuoteWorkEffort"/>
<set field="donePage" from-field="parameters.DONE_PAGE"/>
<set field="quoteId" from-field="parameters.quoteId"/>
<set field="workEffortId" from-field="parameters.workEffortId"/>
<entity-one entity-name="Quote" value-field="quote"/>
<entity-one entity-name="WorkEffort" value-field="workEffort"/>
</actions>
<widgets>
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<include-form name="EditQuoteWorkEffort" location="component://order/widget/ordermgr/QuoteWorkEffortForms.xml"/>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ListQuoteWorkEfforts">
<section>
<actions>
<set field="titleProperty" value="OrderOrderQuoteWorkEfforts"/>
<set field="activeSubMenuItem" value="QuoteWorkEfforts"/>
<set field="labelTitleProperty" value="PageTitleListQuoteWorkEfforts"/>
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="/workeffort/control/ListWorkEfforts"/>
<set field="quoteId" from-field="parameters.quoteId"/>
<entity-one entity-name="Quote" value-field="quote"/>
</actions>
<widgets>
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet>
<include-form name="ListQuoteWorkEfforts" location="component://order/widget/ordermgr/QuoteWorkEffortForms.xml"/>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>