ilscipio/scipio-erp

View on GitHub
applications/workeffort/widget/WorkEffortScreens.xml

Summary

Maintainability
Test Coverage
<?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">
        
    <!-- SCIPIO: NOTE: The old parameters.iCalendarDecoratorLocation pattern that existed here has been supplanted
        by the decorator default-fallback-location pattern for parameters.mainDecoratorLocation (see CommonScreens.xml). -->

    <screen name="UserJobs">
        <section>
            <actions>
                <set field="activeSubMenuItem" value="userJobs"/>
                <set field="titleProperty" value="WorkEffortJobList"/>
                <set field="filterByStatusId" from-field="parameters.statusId" default-value="SERVICE_RUNNING"/>
                <entity-condition entity-name="JobSandbox" list="userJobs">
                    <condition-list>
                        <condition-expr field-name="authUserLoginId" from-field="userLogin.userLoginId"/>
                        <condition-expr field-name="statusId" from-field="filterByStatusId"/>
                    </condition-list>
                </entity-condition>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortAppDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet>
                            <include-form name="FilterUserJobs" location="component://workeffort/widget/WorkEffortForms.xml"/>
                            <include-form name="UserJobsList" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="mytasks">
        <section>
            <actions>
                <set field="activeSubMenuItem" value="task"/>
                <set field="titleProperty" value="PageTitleViewActivityAndTaskList"/>

                <service service-name="getWorkEffortAssignedActivities"/>
                <service service-name="getWorkEffortAssignedActivitiesByRole"/>
                <service service-name="getWorkEffortAssignedActivitiesByGroup"/>
                <service service-name="getWorkEffortAssignedTasks"/>
                
                <!-- NOTE: HERE WE DO GENERIC PERMISSION instead of manager -->
                <condition-to-field field="commonWorkEffortAppBasePermCond" type="Boolean">
                    <if-service-permission service-name="workEffortGenericPermission" main-action="VIEW"/>
                </condition-to-field>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortAppDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <section>
                            <condition>
                                <if-service-permission service-name="workEffortGenericPermission" main-action="VIEW"/>
                            </condition>
                            <widgets>
                                <platform-specific><html><html-template location="component://workeffort/webapp/workeffort/task/mytasks.ftl"/></html></platform-specific>
                            </widgets>
                            <fail-widgets>
                                <label style="h3">${uiLabelMap.WorkEffortViewPermissionError}</label>
                            </fail-widgets>
                        </section>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="EditWorkEffort">
        <section>
            <actions>
                <set field="donePage" from-field="parameters.DONE_PAGE" default-value="/workeffort/control/ListWorkEfforts"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <set field="thisWorkEffortId" from-field="parameters.workEffortId"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
                <set field="titleProperty" value="${groovy: context.workEffort ? 'PageTitleEditWorkEffort' : 'PageTitleAddWorkEffort'}"/>
                <set field="activeSubMenuItem" value="${groovy: context.workEffort ? 'WorkEffort' : 'NewWorkEffort'}"/>
                <set field="labelTitleProperty" from-field="titleProperty"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <include-menu name="EditWorkEffortSubTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/>
                        <section>
                            <condition>
                                <if-empty field="workEffort"/>
                            </condition>
                            <widgets>
                                <screenlet><!-- title="${uiLabelMap.PageTitleAddWorkEffort}" -->
                                    <include-form name="EditWorkEffort" location="component://workeffort/widget/WorkEffortForms.xml"/>
                                </screenlet>
                            </widgets>
                            <fail-widgets>
                                <!--<container style="button-bar">
                                    <link text="${uiLabelMap.WorkEffortCreate}" target="EditWorkEffort" style="${styles.link_nav} ${styles.action_add}">
                                        <parameter param-name="DONE_PAGE" from-field="donePage"/>
                                    </link>
                                </container>-->
                                <screenlet>
                                    <include-form name="EditWorkEffort" location="component://workeffort/widget/WorkEffortForms.xml"/>
                                </screenlet>
                            </fail-widgets>
                        </section>
                        <section><!-- SCIPIO: Added data prep -->
                            <actions>
                                <entity-one entity-name="StatusItem" value-field="workEffortStatus">
                                    <field-map field-name="statusId" from-field="workEffort.currentStatusId"/>
                                </entity-one>
                                <entity-and entity-name="StatusItem" list="workEffortStatusList">
                                    <field-map field-name="statusTypeId" from-field="workEffortStatus.statusTypeId"/>
                                    <order-by field-name="sequenceId"/>
                                </entity-and>
                            </actions>
                            <widgets>
                                <screenlet title="${uiLabelMap.WorkEffortDuplicateWorkEffort}">
                                    <platform-specific>
                                        <html><html-template location="component://workeffort/webapp/workeffort/workeffort/EditWorkEffortDupForm.ftl"/></html>
                                    </platform-specific>
                                </screenlet>
                            </widgets>
                        </section>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="FindWorkEffort">
        <section>
            <actions>
                <set field="activeSubMenuItem" value="FindWorkEffort"/><!-- value="workeffort" -->
                <set field="titleProperty" value="PageTitleFindWorkEffort"/>
                <set field="donePage" from-field="parameters.DONE_PAGE"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
                            <decorator-section name="menu-bar">
                                <include-menu name="FindWorkEffortSubTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/>
                                <!--<container style="button-bar">
                                    <link text="${uiLabelMap.WorkEffortCreate}" target="EditWorkEffort" style="${styles.link_nav} ${styles.action_add}">
                                        <parameter param-name="DONE_PAGE" from-field="donePage"/>
                                    </link>
                                    <link text="${uiLabelMap.CommonAdvancedSearch}" target="WorkEffortSearchOptions" style="${styles.link_nav} ${styles.action_find}"/>
                                </container>-->
                            </decorator-section>
                            <decorator-section name="search-options">
                                <include-form name="FindWorkEffort" location="component://workeffort/widget/WorkEffortForms.xml"/>
                            </decorator-section>
                            <decorator-section name="search-results">
                                <include-form name="FoundWorkEfforts" location="component://workeffort/widget/WorkEffortForms.xml"/>
                            </decorator-section>
                        </decorator-screen>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ListWorkEfforts">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEfforts"/>
                <set field="activeSubMenuItem" value="WorkEffort"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEfforts"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet navigation-form-name="ListWorkEfforts">
                            <include-form name="ListWorkEfforts" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ChildWorkEfforts">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleTreeWorkEfforts"/>
                <set field="activeSubMenuItem" value="WorkEffortAssocs"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEfforts"/>
                <set field="trail" from-field="requestParameters.trail"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <set field="donePage" from-field="parameters.DONE_PAGE" default-value="ChildWorkEfforts?workEffortId=${parameters.workEffortId}"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <include-menu name="ChildWorkEffortsSubTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/><!-- SCIPIO -->
                        <include-tree name="TreeWorkEffort" location="component://workeffort/widget/WorkEffortTrees.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="AddWorkEffortAndAssoc">
        <section>
            <actions>
                <!--<set field="titleProperty" value="PageTitleEditWorkEffort"/>-->
                <set field="activeSubMenuItem" value="WorkEffort"/>
                <set field="labelTitleProperty" value="PageTitleEditWorkEffort"/>
                <set field="donePage" from-field="parameters.DONE_PAGE" default-value="ChildWorkEfforts?workEffortId=${parameters.workEffortIdFrom}"/>
                <set field="workEffortIdFrom" from-field="parameters.workEffortIdFrom"/>
                <set field="workEffortAssocTypeId" value=""/>
                <set field="fromDate" from-field="nowTimestamp"/>
                <property-map map-name="uiLabelMap" resource="WorkEffortUiLabels" global="true"/>
                <set field="title" value="${uiLabelMap.PageTitleAddWorkEffort} ${uiLabelMap.WorkEffortAssociatedFromParentToChild}"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <!--<label style="heading" text="${uiLabelMap.PageTitleAddWorkEffort} ${uiLabelMap.WorkEffortAssociatedFromParentToChild}"/>-->
                        <include-form name="AddWorkEffortAndAssoc" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="EditWorkEffortAndAssoc">
        <section>
            <actions>
                <!--<set field="titleProperty" value="PageTitleEditWorkEffort"/>-->
                <set field="activeSubMenuItem" value="WorkEffort"/>
                <set field="labelTitleProperty" value="PageTitleEditWorkEffort"/>
                <set field="donePage" from-field="parameters.DONE_PAGE"/>
                <set field="workEffortIdTo" from-field="parameters.workEffortIdTo"/>
                <set field="workEffortIdFrom" from-field="parameters.workEffortIdFrom"/>
                <set field="workEffortId" from-field="parameters.workEffortIdTo" default-value="${parameters.workEffortId}"/>
                <set field="workEffortAssocTypeId" from-field="parameters.workEffortAssocTypeId"/>
                <set field="fromDate" from-field="parameters.fromDate"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
                <entity-one entity-name="WorkEffortAssoc" value-field="workEffortAssoc"/>
                <set field="parameters.workEffortId" from-field="workEffortId"/>
                <property-map map-name="uiLabelMap" resource="WorkEffortUiLabels" global="true"/>
                <set field="title" value="${uiLabelMap.PageTitleEditWorkEffort} ${uiLabelMap.WorkEffortAssociatedFromParentToChild}"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <include-menu name="EditWorkEffortAssocSubTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/><!-- SCIPIO: new -->
                        <include-form name="EditWorkEffortAndAssoc" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="AddWorkEffortAssoc">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleEditWorkEffortAssoc"/>
                <set field="activeSubMenuItem" value="WorkEffortAssocs"/><!-- SCIPIO: confusing: value="WorkEffort" -->
                <set field="labelTitleProperty" value="PageTitleEditWorkEffortAssoc"/>
                <set field="workEffortIdFrom" from-field="parameters.workEffortIdFrom"/>
                <entity-one entity-name="WorkEffortAssoc" value-field="workEffortAssoc"/>
                <set field="donePage" value="ChildWorkEfforts?workEffortId=${workEffortIdFrom}&amp;trail=${workEffortIdFrom}"/>
                <!-- SCIPIO: added workEffortId here - needed so the menu opens -->
                <set field="workEffortId" from-field="workEffortIdFrom"/>
                <set field="parameters.workEffortId" from-field="workEffortIdFrom"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <!--<container style="h2">
                            <label text="${uiLabelMap.PageTitleEditWorkEffortAssoc}"/>
                        </container>-->
                        <screenlet>
                            <include-form name="AddWorkEffortAssoc" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="EditWorkEffortAssoc">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleEditWorkEffortAssoc"/>
                <set field="activeSubMenuItem" value="WorkEffortAssocs"/><!-- SCIPIO: confusing: value="WorkEffort" -->
                <set field="labelTitleProperty" value="PageTitleEditWorkEffortAssoc"/>
                <set field="workEffortIdTo" from-field="parameters.workEffortIdTo"/>
                <set field="workEffortIdFrom" from-field="parameters.workEffortIdFrom"/>
                <set field="workEffortAssocTypeId" from-field="parameters.workEffortAssocTypeId"/>
                <set field="fromDate" from-field="parameters.fromDate"/>
                <entity-one entity-name="WorkEffortAssoc" value-field="workEffortAssoc"/>
                <set field="donePage" value="ChildWorkEfforts?workEffortId=${workEffortIdFrom}&amp;trail=${workEffortIdFrom}"/>
                <!-- SCIPIO: added workEffortId here - needed so the menu opens -->
                <set field="workEffortId" from-field="workEffortIdFrom"/>
                <set field="parameters.workEffortId" from-field="workEffortIdFrom"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet navigation-menu-name="EditWorkEffortAssocSubTabBar">
                            <include-menu name="EditWorkEffortAssocSubTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/>
                            <include-form name="EditWorkEffortAssoc" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ListWorkEffortPartyAssigns">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortPartyAssigns"/>
                <set field="activeSubMenuItem" value="WorkEffortPartyAssigns"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortPartyAssigns"/>

                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <entity-one entity-name="WorkEffortPartyAssignment" value-field="workEffortPartyAssignment"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortPartyAssignsPanel" title="${uiLabelMap.PageTitleAddWorkEffortPartyAssign}" collapsible="true">
                            <include-form name="EditWorkEffortPartyAssign" location="component://workeffort/widget/WorkEffortPartyAssignForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortPartyAssigns" location="component://workeffort/widget/WorkEffortPartyAssignForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ListWorkEffortFixedAssetAssigns">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortFixedAssetAssigns"/>
                <set field="labelTitleProperty" from-field="titleProperty"/>
                <set field="activeSubMenuItem" value="WorkEffortFixedAssetAssigns"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortFixedAssetAssign" title="${uiLabelMap.PageTitleAddWorkEffortFixedAssetAssign}" collapsible="true">
                            <include-form name="EditWorkEffortFixedAssetAssign" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortFixedAssetAssigns" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="EditWorkEffortRates">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortAssignmentRates"/>
                <set field="activeSubMenuItem" value="WorkEffortRates"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortAssignmentRates"/>

                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortRatesPanel" title="${uiLabelMap.PageTitleAddWorkEffortAssignmentRate}" collapsible="true">
                            <include-form name="AddWorkEffortRate" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortRates" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="ListWorkEffortCommEvents">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortCommEvents"/>
                <set field="activeSubMenuItem" value="WorkEffortCommEvents"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortCommEvents"/>

                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortCommEventsPanel" title="${uiLabelMap.PageTitleAddWorkEffortCommEvent}" collapsible="true">
                            <include-form name="AddWorkEffortCommEvent" location="component://workeffort/widget/WorkEffortCommEventForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortCommEvents" location="component://workeffort/widget/WorkEffortCommEventForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="ListWorkEffortShopLists">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortShopLists"/>
                <set field="activeSubMenuItem" value="WorkEffortShopLists"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortShopLists"/>

                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortShopListsPanel" title="${uiLabelMap.PageTitleAddWorkEffortShopList}" collapsible="true">
                            <include-form name="AddWorkEffortShopList" location="component://workeffort/widget/WorkEffortShopListForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortShopLists" location="component://workeffort/widget/WorkEffortShopListForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ListWorkEffortRequests">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortRequests"/>
                <set field="activeSubMenuItem" value="WorkEffortRequests"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortRequests"/>

                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortRequestsPanel" title="${uiLabelMap.PageTitleAddWorkEffortRequest}" collapsible="true">
                            <include-form name="AddWorkEffortRequest" location="component://workeffort/widget/WorkEffortRequestForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortRequests" location="component://workeffort/widget/WorkEffortRequestForms.xml"/>
                        <screenlet id="AddWorkEffortRequestItemPanel" title="${uiLabelMap.PageTitleAddWorkEffortRequestItem}" collapsible="true">
                            <include-form name="AddWorkEffortRequestItem" location="component://workeffort/widget/WorkEffortRequestForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortRequestItems" location="component://workeffort/widget/WorkEffortRequestForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="ListWorkEffortRequirements">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortRequirements"/>
                <set field="activeSubMenuItem" value="WorkEffortRequirements"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortRequirements"/>

                <set field="donePage" from-field="parameters.DONE_PAGE" default-value="/workeffort/control/ListWorkEfforts"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortRequirementsPanel" title="${uiLabelMap.PageTitleAddWorkEffortRequirement}" collapsible="true">
                            <include-form name="AddWorkEffortRequirement" location="component://workeffort/widget/WorkEffortRequirementForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortRequirements" location="component://workeffort/widget/WorkEffortRequirementForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ListWorkEffortQuotes">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortQuotes"/>
                <set field="activeSubMenuItem" value="WorkEffortQuotes"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortQuotes"/>

                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortQuotesPanel" title="${uiLabelMap.PageTitleAddWorkEffortQuote}" collapsible="true">
                            <include-form name="AddWorkEffortQuote" location="component://workeffort/widget/WorkEffortQuoteForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortQuotes" location="component://workeffort/widget/WorkEffortQuoteForms.xml"/>
                        <screenlet id="AddWorkEffortQuoteItemPanel" title="${uiLabelMap.PageTitleAddWorkEffortQuoteItem}" collapsible="true">
                            <include-form name="AddWorkEffortQuoteItem" location="component://workeffort/widget/WorkEffortQuoteForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortQuoteItems" location="component://workeffort/widget/WorkEffortQuoteForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="ListWorkEffortOrderHeaders">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortOrderHeaders"/>
                <set field="activeSubMenuItem" value="WorkEffortOrderHeaders"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortOrderHeaders"/>

                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortOrderHeadersPanel" title="${uiLabelMap.PageTitleAddWorkEffortOrderHeader}" collapsible="true">
                            <include-form name="AddWorkEffortOrderHeader" location="component://workeffort/widget/WorkEffortOrderHeaderForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortOrderHeaders" location="component://workeffort/widget/WorkEffortOrderHeaderForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="EditWorkEffortTimeEntries">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortTimeEntries"/>
                <set field="activeSubMenuItem" value="WorkEffortTimeEntries"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortTimeEntries"/>

                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet>
                            <include-form name="ListWorkEffortTimeEntries" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <screenlet title="${uiLabelMap.PageTitleAddWorkEffortTimeEntry}">
                            <include-form name="AddWorkEffortTimeEntry" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <screenlet title="${uiLabelMap.PageTitleAddWorkEffortTimeToInvoice}">
                            <include-form name="AddWorkEffortTimeToInvoice" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <screenlet title="${uiLabelMap.PageTitleAddWorkEffortTimeToNewInvoice}">
                            <include-form name="AddWorkEffortTimeToNewInvoice" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="EditWorkEffortNotes">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortNotes"/>
                <set field="activeSubMenuItem" value="WorkEffortNotes"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortNotes"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <set field="noteId" from-field="parameters.noteId"/>
                <entity-one entity-name="WorkEffortNoteAndData" value-field="workEffortNoteAndData"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="add-workeffort-note" title="${uiLabelMap.PageTitleAddWorkEffortNotes}" collapsible="true">
                            <include-form name="AddWorkEffortNote" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortNotes" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="EditWorkEffortContents">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleEditWorkEffortContent"/>
                <set field="activeSubMenuItem" value="WorkEffortContents"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortContentsPanel" title="${uiLabelMap.PageTitleAddContent}" collapsible="true">
                            <include-form name="AddWorkEffortContent" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortContents" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="EditWorkEffortGoodStandards">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleEditWorkEffortGoodStandards"/>
                <set field="activeSubMenuItem" value="WorkEffortGoodStandards"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortGoodStandardsPanel" title="${uiLabelMap.WorkEffortAddGoodStandard}" collapsible="true">
                            <include-form name="AddWorkEffortGoodStandard" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortGoodStandards" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="EditWorkEffortReviews">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortReviews"/>
                <set field="activeSubMenuItem" value="WorkEffortReviews"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortReviews"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <set field="defaultUserLoginId" from-field="parameters.userLogin.userLoginId"/>
                <set field="partyId" from-field="parameters.userLogin.partyId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortReviewsPanel" title="${uiLabelMap.PageTitleAddWorkEffortReviews}" collapsible="true">
                            <include-form name="AddWorkEffortReview" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortReviews" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="EditWorkEffortKeywords">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortKeyword"/>
                <set field="activeSubMenuItem" value="WorkEffortKeywords"/>
                <set field="labelTitleProperty" value="PageTitleListWorkEffortKeyword"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortKeywordsPanel" title="${uiLabelMap.PageTitleAddWorkEffortKeyword}" collapsible="true">
                            <include-form name="AddWorkEffortKeyword" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortKeywords" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="EditWorkEffortContactMechs">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleEditWorkEffortContactMechs"/>
                <set field="activeSubMenuItem" value="WorkEffortContactMechs"/>
                <set field="labelTitleProperty" value="PageTitleEditWorkEffortContactMechs"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortContactMechsPanel" title="${uiLabelMap.CommonCreate}" collapsible="true">
                            <include-form name="AddWorkEffortContactMech" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortContactMechs" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="WorkEffortSearchResults">
        <section>
            <actions>
                <set field="activeSubMenuItem" value="WorkEffortAdvancedSearch"/><!-- SCIPIO -->
                <set field="titleProperty" value="PageTitleSearchResults"/>
                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchResults.groovy"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <include-menu name="FindWorkEffortSubTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/><!-- SCIPIO -->
                        <platform-specific>
                            <html><html-template location="component://workeffort/webapp/workeffort/find/WorkEffortSearchResults.ftl"/></html>
                        </platform-specific>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="WorkEffortSearchOptions">
        <section>
            <actions>
                <set field="activeSubMenuItem" value="WorkEffortAdvancedSearch"/><!-- SCIPIO -->
                <set field="titleProperty" value="PageTitleSearchResults"/>
                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchOptions.groovy"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <include-menu name="FindWorkEffortSubTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/><!-- SCIPIO -->
                        <platform-specific>
                            <html><html-template location="component://workeffort/webapp/workeffort/find/WorkEffortSearchOptions.ftl"/></html>
                        </platform-specific>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    <screen name="EditAgreementWorkEffortApplics">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleEditAgreementWorkEffortApplics"/>
                <set field="activeSubMenuItem" value="WorkEffortAgreementAppls"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddAccountingAgreementWorkEffortApplicsPanel" title="${uiLabelMap.AccountingAddAgreementWorkEffortApplic}" collapsible="true">
                            <include-form name="AddAgreementWorkEffortApplic" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListAgreementWorkEffortApplics" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ListWorkEffortEventReminders">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListWorkEffortEventReminders"/>
                <set field="labelTitleProperty" from-field="titleProperty"/>
                <set field="activeSubMenuItem" value="WorkEffortEventReminders"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet id="AddWorkEffortEventReminder" title="${uiLabelMap.PageTitleAddWorkEffortEventReminder}" collapsible="true">
                            <include-form name="EditWorkEffortEventReminder" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        </screenlet>
                        <include-form name="ListWorkEffortEventReminders" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="WorkEffortEventReminderEmail">
        <section>
            <actions>
                <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap" global="true"/>
                <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
                <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
                <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
                <get-related-one value-field="workEffort" relation-name="WorkEffortType" to-value-field="workEffortType"/>
                <get-related-one value-field="workEffort" relation-name="CurrentStatusItem" to-value-field="currentStatusItem"/>
                <get-related-one value-field="workEffort" relation-name="WorkEffortPurposeType" to-value-field="workEffortPurposeType"/>
                <get-related-one value-field="workEffort" relation-name="ScopeEnumeration" to-value-field="scopeEnumeration"/>
                <entity-and entity-name="WorkEffortPartyAssignView" list="partyAssignments">
                    <field-map field-name="workEffortId"/>
                </entity-and>
                <entity-and entity-name="WorkEffortAndFixedAssetAssign" list="fixedAssetAssignments" filter-by-date="true">
                    <field-map field-name="workEffortId"/>
                </entity-and>
            </actions>
            <widgets>
                <platform-specific><html><html-template location="component://workeffort/webapp/workeffort/workeffort/EventReminderEmail.ftl"/></html></platform-specific>
            </widgets>
        </section>
    </screen>

    <screen name="FindICalendars">
        <section>
            <actions>
                <set field="activeSubMenuItem" value="WorkEffortICalendar"/>
                <set field="titleProperty" value="WorkEffortICalendarFind"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonWorkEffortAppDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <section>
                            <condition>
                                <if-service-permission service-name="workEffortManagerPermission" main-action="VIEW"/>
                            </condition>
                            <widgets>
                                <!--<container style="h2">
                                    <label text="${uiLabelMap.WorkEffortICalendarFind}"/>
                                </container>-->
                                <!--<container style="button-bar">
                                    <link text="${uiLabelMap.CommonCreate}" target="EditICalendar" style="${styles.link_nav} ${styles.action_add}"/>
                                    <link text="${uiLabelMap.CommonHelp}" target="ICalendarHelp" style="${styles.link_nav} ${styles.action_view}"/>
                                </container>-->
                                <include-menu name="FindICalendarsSubTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/>
                                <include-form name="ListIcalendars" location="component://workeffort/widget/WorkEffortForms.xml"/>
                            </widgets>
                            <fail-widgets>
                                <label style="common-msg-error-perm">${uiLabelMap.WorkEffortViewPermissionError}</label>
                            </fail-widgets>
                        </section>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="EditICalendar">
        <section>
            <actions>
                <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap"/>
                <set field="activeSubMenuItem" value="WorkEffort"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
                <set field="title" value="${uiLabelMap.WorkEffortICalendarEdit} - ${workEffort.workEffortName}"/>
                <if>
                    <condition>
                        <if-empty field="workEffort"/>
                    </condition>
                    <then>
                        <set field="title" value="${uiLabelMap.WorkEffortICalendarAdd}"/>
                    </then>
                </if>
            </actions>
            <widgets>
                <decorator-screen name="iCalendarDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <section>
                            <condition>
                                <if-empty field="workEffort"/>
                            </condition>
                            <actions>
                                <set field="quickAssignPartyId" from-field="userLogin.partyId"/>
                            </actions>
                            <widgets>
                                <include-form name="EditICalendar" location="component://workeffort/widget/WorkEffortForms.xml"/>
                            </widgets>
                            <fail-widgets>
                                <include-menu name="EditICalendarsSubTabBar" location="component://workeffort/widget/WorkEffortMenus.xml"/>
                                <!--<container style="button-bar">
                                    <link text="${uiLabelMap.CommonCreate}" target="EditICalendar" style="${styles.link_nav} ${styles.action_add}"/>
                                </container>-->
                                <include-form name="EditICalendar" location="component://workeffort/widget/WorkEffortForms.xml"/>
                            </fail-widgets>
                        </section>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="EditICalendarData">
        <section>
            <actions>
                <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap"/>
                <set field="activeSubMenuItem" value="ICalendarData"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
                <get-related-one value-field="workEffort" relation-name="WorkEffortIcalData" to-value-field="iCalData"/>
                <set field="title" value="${uiLabelMap.WorkEffortICalendarEditData} - ${workEffort.workEffortName}"/>
            </actions>
            <widgets>
                <decorator-screen name="iCalendarDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <include-form name="EditICalendarData" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ICalendarChildren">
        <section>
            <actions>
                <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap"/>
                <set field="activeSubMenuItem" value="WorkEffortAssocs"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <set field="trail" from-field="requestParameters.trail"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
                <set field="title" value="${uiLabelMap.PageTitleTreeWorkEfforts} - ${workEffort.workEffortName}"/>
            </actions>
            <widgets>
                <decorator-screen name="iCalendarDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <include-tree name="ICalendarTree" location="component://workeffort/widget/WorkEffortTrees.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ICalendarParties">
        <section>
            <actions>
                <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap"/>
                <set field="activeSubMenuItem" value="WorkEffortPartyAssigns"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
                <set field="title" value="${uiLabelMap.WorkEffortICalendarAddParty} - ${workEffort.workEffortName}"/>
            </actions>
            <widgets>
                <decorator-screen name="iCalendarDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <include-form name="EditICalendarPartyAssign" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        <include-form name="ListICalendarPartyAssigns" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ICalendarFixedAssets">
        <section>
            <actions>
                <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap"/>
                <set field="activeSubMenuItem" value="WorkEffortFixedAssetAssigns"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
                <set field="title" value="${uiLabelMap.WorkEffortICalendarAddFixedAsset} - ${workEffort.workEffortName}"/>
            </actions>
            <widgets>
                <decorator-screen name="iCalendarDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <include-form name="EditICalendarFixedAssetAssign" location="component://workeffort/widget/WorkEffortForms.xml"/>
                        <include-form name="ListICalendarFixedAssetAssigns" location="component://workeffort/widget/WorkEffortForms.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ICalendarHelp">
        <section>
            <actions>
                <!--<set field="layoutSettings.styleSheets[+0]" value="/images/wiki-content.css" global="true"/> SCIPIO: removed long ago -->
                <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap"/>
                <set field="activeSubMenuItem" value="ICalendarHelp"/>
                <set field="workEffortId" from-field="parameters.workEffortId"/>
                <entity-one entity-name="WorkEffort" value-field="workEffort"/>
                <set field="title" value="${uiLabelMap.WorkEffortICalendarHelp}"/>
                <!-- SCIPIO: TODO: REVIEW: should have local help, why fetch this from ofbiz? -->
                <set field="document" from-field="dom:readHtmlDocument(uiLabelMap.WorkEffortICalendarHelpUrl)"/>
                <set field="wikiDivList" from-field="document[&quot;//DIV[@class='wiki-content']&quot;]"/>
                <!-- SCIPIO: 2018-04: this causes a cast exception, maybe something in API changed...
                <set field="wikiContent" from-field="dom:toHtmlString(wikiDivList[0], 'UTF-8', true, 2)"/>-->
                <set field="wikiContent" from-field="dom:toHtmlString(wikiDivList, 'UTF-8', true, 2)"/>
                <set field="wikiContent" value="${groovy: context?.wikiContent.replaceAll('(?i)ofbiz', 'Scipio')}"/>
            </actions>
            <widgets>
                <decorator-screen name="iCalendarDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <platform-specific>
                            <html><html-template location="component://workeffort/webapp/workeffort/workeffort/ICalendarHelp.ftl"/></html>
                        </platform-specific>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

</screens>