ilscipio/scipio-erp

View on GitHub
applications/party/widget/partymgr/VisitScreens.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">

    <screen name="FindVisits">
        <section>
            <actions>
                <set field="activeSubMenuItem" value="visits"/>
                <set field="titleProperty" value="PageTitleVisitList"/>
                <set field="noConditionFind" value="Y"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonPartyAppDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
                            <decorator-section name="search-options">
                                <include-form name="FindVisits"  location="component://party/widget/partymgr/PartyVisitForms.xml"/>
                            </decorator-section>
                            <decorator-section name="search-results">
                                <include-form name="ListVisits"  location="component://party/widget/partymgr/PartyVisitForms.xml"/>
                            </decorator-section>
                        </decorator-screen>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="ListLoggedInUsers">
        <section>
            <actions>
                <set field="activeSubMenuItem" value="loggedinusers"/>
                <set field="titleProperty" value="PageTitleListLoggedInUsers"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonPartyAppDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <screenlet>
                            <include-form name="ListLoggedInUsers"  location="component://party/widget/partymgr/PartyVisitForms.xml"/>
                        </screenlet>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

    <screen name="LoggedInUsersScreen">
        <section>
            <widgets>
                <screenlet title="${uiLabelMap.PageTitleListLoggedInUsers}">
                    <include-form name="ListLoggedInUsers"  location="component://party/widget/partymgr/PartyVisitForms.xml"/>
                </screenlet>
            </widgets>
        </section>
    </screen>
    
    <screen name="visitdetail">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleVisitDetail"/>
                <set field="activeSubMenuItem" value="visits"/>
                <!--<set field="activeSubMenuItem" value="visitdetail"/>-->

                <script location="component://party/webapp/partymgr/WEB-INF/actions/visit/VisitDetails.groovy"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonPartyAppDecorator" location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                        <platform-specific>
                            <html><html-template location="component://party/webapp/partymgr/visit/visitdetail.ftl"/></html>
                        </platform-specific>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
</screens>