| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd"> |
| |
| <screen name="EditPartyClassifications"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleViewPartyClassifications"/> |
| <set field="headerItem" value="find"/> |
| <set field="tabButtonItem" value="EditPartyClassifications"/> |
| |
| <set field="labelTitleProperty" value="PartyClassifications"/> |
| |
| <set field="partyId" from-field="parameters.partyId"/> |
| <entity-one entity-name="Party" value-field="party"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="AddPartyClassificationPanel" title="${uiLabelMap.PartyClassifications}" collapsible="true"> |
| <include-form name="AddPartyClassification" location="component://party/widget/partymgr/PartyClassificationForms.xml"/> |
| </screenlet> |
| <include-form name="ListPartyClassifications" location="component://party/widget/partymgr/PartyClassificationForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditPartyClassificationGroupParties"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleViewPartyClassificationGroupParties"/> |
| <set field="headerItem" value="classification"/> |
| <set field="tabButtonItem" value="EditPartyClassificationGroupParties"/> |
| |
| <set field="labelTitleProperty" value="PartyClassificationGroupParties"/> |
| |
| <set field="partyClassificationGroupId" from-field="parameters.partyClassificationGroupId"/> |
| <entity-one entity-name="PartyClassificationGroup" value-field="partyClassificationGroup"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="pre-body"> |
| <section> |
| <condition> |
| <if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/> |
| </condition> |
| <widgets> |
| <include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="PartyClassificationTabBar"/> |
| </widgets> |
| </section> |
| </decorator-section> |
| <decorator-section name="body"> |
| <section> |
| <condition> |
| <if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/> |
| </condition> |
| <widgets> |
| <screenlet id="AddPartyClassificationGroupPartiesPanel" title="${uiLabelMap.PartyClassificationGroups}" collapsible="true"> |
| <include-form name="AddPartyClassificationParty" location="component://party/widget/partymgr/PartyClassificationForms.xml"/> |
| </screenlet> |
| <include-form name="ListPartyClassificationGroupParties" location="component://party/widget/partymgr/PartyClassificationForms.xml"/> |
| </widgets> |
| <fail-widgets> |
| <label style="h3">${uiLabelMap.PartyMgrViewPermissionError}</label> |
| </fail-widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="FindPartyClassificationGroups"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleFindPartyClassificationGroups"/> |
| <set field="headerItem" value="classification"/> |
| <set field="tabButtonItem" value="FindPartyClassificationGroups"/> |
| |
| <set field="labelTitleProperty" value="PartyClassificationGroups"/> |
| |
| <set field="partyId" from-field="parameters.partyId"/> |
| <entity-one entity-name="Party" value-field="party"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PartyClassificationGroups}"> |
| <container style="button-bar"><link target="EditPartyClassificationGroup" style="buttontext create" text="${uiLabelMap.PartyCreateNewPartyClassificationGroup}"/></container> |
| <container style="screenlet-body"> |
| <include-form name="ListPartyClassificationGroups" location="component://party/widget/partymgr/PartyClassificationForms.xml"/> |
| </container> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditPartyClassificationGroup"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditPartyClassificationGroup"/> |
| <set field="headerItem" value="classification"/> |
| <set field="tabButtonItem" value="EditPartyClassificationGroup"/> |
| |
| <set field="labelTitleProperty" value="PartyClassificationGroup"/> |
| |
| <set field="partyClassificationGroupId" from-field="parameters.partyClassificationGroupId"/> |
| <set field="partyId" value=""/> |
| <entity-one entity-name="PartyClassificationGroup" value-field="partyClassificationGroup"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="pre-body"> |
| <section> |
| <condition> |
| <if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/> |
| </condition> |
| <widgets> |
| <include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="PartyClassificationTabBar"/> |
| </widgets> |
| </section> |
| </decorator-section> |
| <decorator-section name="body"> |
| <section> |
| <condition> |
| <if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/> |
| </condition> |
| <widgets> |
| <screenlet title="${uiLabelMap.PartyClassificationGroup}"> |
| <include-form name="EditPartyClassificationGroup" location="component://party/widget/partymgr/PartyClassificationForms.xml"/> |
| </screenlet> |
| </widgets> |
| <fail-widgets> |
| <label style="h3">${uiLabelMap.PartyMgrViewPermissionError}</label> |
| </fail-widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| </screens> |