[ \t]+$ => "" (empty) Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg) Of course this effort to remove trailing spaces has no functional implications. Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135 In the meantime I did some refactoring also in *.java and *.groovy files : ){ => ) { if( => if ( while( => while ( }else => } else else{ => else { switch( => switch ( try{ => try { }catch => } catch catch( => catch ( }finally{ => } finally { So these changes are also in this commit, should not be a problem anyway. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
301 lines
16 KiB
XML
301 lines
16 KiB
XML
<?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="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 style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartySecurityGroupsList}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<container style="button-bar">
|
|
<link target="EditSecurityGroup" style="smallSubmit" text="${uiLabelMap.PartyNewSecurityGroup}"/>
|
|
<link target="EditCertIssuerProvisions" style="smallSubmit" text="${uiLabelMap.PartyCertIssuers}"/>
|
|
</container>
|
|
<include-form name="ListSecurityGroups" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${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-field="securityGroup"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleEditSecurityGroup}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="EditSecurityGroup" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</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-field="securityGroup"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleEditSecurityGroupPermissions}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ListSecurityGroupPermissions" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyAddPermissionToSecurityGroup}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="AddSecurityGroupPermission" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyAddPermissionManuallyToSecurityGroup}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="AddSecurityGroupPermissionManual" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditSecurityGroupUserLogins">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PartyAddUserLoginToSecurityGroup"/>
|
|
<set field="tabButtonItem" value="EditSecurityGroupUserLogins"/>
|
|
<set field="labelTitleProperty" value="PartyUserLoginsForSecurityGroup"/>
|
|
|
|
<set field="groupId" from-field="parameters.groupId"/>
|
|
<entity-one entity-name="SecurityGroup" value-field="securityGroup"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="AddSecurityGroupUserLoginsPanel" title="${uiLabelMap.PartyAddUserLoginToSecurityGroup}" collapsible="true">
|
|
<include-form name="AddSecurityGroupUserLogin" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListSecurityGroupUserLogins" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditSecurityGroupProtectedViews">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PartyAddProtectedViewToSecurityGroup"/>
|
|
<set field="tabButtonItem" value="EditSecurityGroupProtectedViews"/>
|
|
<set field="labelTitleProperty" value="PartyProtectedViewsForSecurityGroup"/>
|
|
|
|
<set field="groupId" from-field="parameters.groupId"/>
|
|
<entity-one entity-name="SecurityGroup" value-field="securityGroup"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="AddSecurityGroupProtectedViewsPanel" title="${uiLabelMap.PartyAddProtectedViewToSecurityGroup}" collapsible="true">
|
|
<include-form name="AddSecurityGroupProtectedView" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListSecurityGroupProtectedViews" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditX509IssuerProvisions">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditIssuerProvisions"/>
|
|
<set field="headerItem" value="security"/>
|
|
<set field="tabButtonItem" value="EditX509IssuerProvisions"/>
|
|
|
|
<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 style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleEditIssuerProvisions}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<container style="button-bar">
|
|
<link target="EditSecurityGroup" style="smallSubmit" text="${uiLabelMap.PartyNewSecurityGroup}"/>
|
|
<link target="EditCertIssuerProvisions" style="smallSubmit" text="${uiLabelMap.PartyCertIssuers}"/>
|
|
</container>
|
|
<container>
|
|
<include-form name="CertIssuerList" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleAddIssuerProvisions}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ViewCertificate" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${uiLabelMap.PartySecurityViewPermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ViewCertificate">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleImportCertificate"/>
|
|
<set field="headerItem" value="security"/>
|
|
</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 style="widget-container">
|
|
<platform-specific>
|
|
<html>
|
|
<html-template location="component://party/webapp/partymgr/security/ViewCertificate.ftl"/>
|
|
</html>
|
|
</platform-specific>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${uiLabelMap.PartySecurityViewPermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |