git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764327 13f79535-47bb-0310-9956-ffa450edef68
244 lines
13 KiB
XML
244 lines
13 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="GenericPaymentGatewayDecorator">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="paymentGatewayConfigurations"/>
|
|
</actions>
|
|
<widgets>
|
|
<!-- main defines the regions of the HTML page -->
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<!-- body is the primary display for this page and is called recursively -->
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<include-menu name="PaymentGatewayTabBar" location="component://accounting/widget/Menus.xml"/>
|
|
<container>
|
|
<label style="h1">${uiLabelMap[labelTitleProperty]}</label>
|
|
</container>
|
|
|
|
<!-- Now call the SimpleScreen form -->
|
|
<decorator-section-include name="body"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="FindGatewayConfigurations">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFindPaymentGatewayConfigurations"/>
|
|
<set field="tabButtonItem" value="paymentGatewayConfigurationsTab"/>
|
|
<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="50"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="GenericPaymentGatewayDecorator">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="FindGatewayConfigurations" location="component://accounting/widget/PaymentGatewayConfigurationsForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListGatewayConfigurations" location="component://accounting/widget/PaymentGatewayConfigurationsForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ViewGatewayConfiguration">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleUpdatePaymentGatewayConfiguration"/>
|
|
<set field="tabButtonItem" value="paymentGatewayConfigurationsTab"/>
|
|
|
|
<set field="paymentGatewayConfigId" from-field="parameters.paymentGatewayConfigId"/>
|
|
<entity-one entity-name="PaymentGatewayConfig" value-field="paymentGatewayConfig"/>
|
|
<entity-one entity-name="PaymentGatewayPayflowPro" value-field="paymentGatewayPayflowPro">
|
|
<field-map field-name="paymentGatewayConfigId" from-field="parameters.paymentGatewayConfigId"/>
|
|
</entity-one>
|
|
<entity-one entity-name="PaymentGatewayPayPal" value-field="paymentGatewayPayPal">
|
|
<field-map field-name="paymentGatewayConfigId" from-field="parameters.paymentGatewayConfigId"/>
|
|
</entity-one>
|
|
<entity-one entity-name="PaymentGatewayClearCommerce" value-field="paymentGatewayClearCommerce">
|
|
<field-map field-name="paymentGatewayConfigId" from-field="parameters.paymentGatewayConfigId"/>
|
|
</entity-one>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="GenericPaymentGatewayDecorator">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleUpdatePaymentGatewayConfiguration}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ViewGatewayConfiguration" location="component://accounting/widget/PaymentGatewayConfigurationsForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="paymentGatewayPayflowPro"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleUpdatePaymentGatewayConfigurationPayflowPro}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ViewGatewayConfigurationPayflowPro" location="component://accounting/widget/PaymentGatewayConfigurationsForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="paymentGatewayPayPal"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleUpdatePaymentGatewayConfigurationPayPal}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ViewGatewayConfigurationPayPal" location="component://accounting/widget/PaymentGatewayConfigurationsForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="paymentGatewayClearCommerce"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleUpdatePaymentGatewayConfigurationClearCommerce}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ViewGatewayConfigurationClearCommerce" location="component://accounting/widget/PaymentGatewayConfigurationsForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="FindGatewayConfigurationTypes">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFindPaymentGatewayConfigurationTypes"/>
|
|
<set field="tabButtonItem" value="paymentGatewayConfigurationTypesTab"/>
|
|
<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="50"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="GenericPaymentGatewayDecorator">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="FindGatewayConfigurationTypes" location="component://accounting/widget/PaymentGatewayConfigurationsForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListGatewayConfigurationTypes" location="component://accounting/widget/PaymentGatewayConfigurationsForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ViewGatewayConfigurationType">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleUpdatePaymentGatewayConfigurationType"/>
|
|
<set field="tabButtonItem" value="paymentGatewayConfigurationTypesTab"/>
|
|
|
|
<set field="paymentGatewayConfigTypeId" from-field="parameters.paymentGatewayConfigTypeId"/>
|
|
<entity-one entity-name="PaymentGatewayConfigType" value-field="paymentGatewayConfigType"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="GenericPaymentGatewayDecorator">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleUpdatePaymentGatewayConfigurationType}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ViewGatewayConfigurationType" location="component://accounting/widget/PaymentGatewayConfigurationsForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |