| <?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://www.ofbiz.org/dtds/widget-screen.xsd"> |
| |
| <screen name="FindSecurityGroup"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleFindSecurityGroup"/> |
| <set field="headerItem" value="security"/> |
| <set field="tabButtonItem" value="FindSecurityGroup"/> |
| |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <condition> |
| <if-has-permission permission="SECURITY" action="_VIEW"/> |
| </condition> |
| <widgets> |
| <container> |
| <label style="head1" text="${uiLabelMap.PartySecurityGroupsList}"/> |
| </container> |
| <container style="button-bar"> |
| <link target="EditSecurityGroup" style="smallSubmit" text="${uiLabelMap.PartyNewSecurityGroup}"/> |
| </container> |
| <include-form name="ListSecurityGroups" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </widgets> |
| <fail-widgets> |
| <label style="head3">${uiLabelMap.PartySecurityViewPermissionError}</label> |
| </fail-widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditSecurityGroup"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditSecurityGroup"/> |
| <set field="tabButtonItem" value="EditSecurityGroup"/> |
| <set field="labelTitleProperty" value="PartyEditSecurityGroupWithId"/> |
| |
| <set field="groupId" from-field="parameters.groupId"/> |
| <entity-one entity-name="SecurityGroup" value-name="securityGroup"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <include-form name="EditSecurityGroup" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditSecurityGroupPermissions"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditSecurityGroupPermissions"/> |
| <set field="tabButtonItem" value="EditSecurityGroupPermissions"/> |
| <set field="labelTitleProperty" value="PartyPermissionSecurityGroupWithId"/> |
| |
| <set field="groupId" from-field="parameters.groupId"/> |
| <entity-one entity-name="SecurityGroup" value-name="securityGroup"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <include-form name="ListSecurityGroupPermissions" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| <container><label style="head2" text="${uiLabelMap.PartyAddPermissionToSecurityGroup}"/></container> |
| <include-form name="AddSecurityGroupPermission" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| <container><label style="head2" text="${uiLabelMap.PartyAddPermissionManuallyToSecurityGroup}"/></container> |
| <include-form name="AddSecurityGroupPermissionManual" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditSecurityGroupUserLogins"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditSecurityGroupUserLogins"/> |
| <set field="tabButtonItem" value="EditSecurityGroupUserLogins"/> |
| <set field="labelTitleProperty" value="PartyUserLoginsForSecurityGroup"/> |
| |
| <set field="groupId" from-field="parameters.groupId"/> |
| <entity-one entity-name="SecurityGroup" value-name="securityGroup"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <include-form name="ListSecurityGroupUserLogins" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| <container><label style="head2" text="${uiLabelMap.PartyAddUserLoginToSecurityGroup}"/></container> |
| <include-form name="AddSecurityGroupUserLogin" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| </screens> |
| |