I put also some svn:ignore for shark build and lib diretories and assetmaint/build I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit. I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) ! git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
164 lines
7.9 KiB
XML
164 lines
7.9 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://www.ofbiz.org/dtds/widget-screen.xsd">
|
|
|
|
<screen name="GenericTransactionDecorator">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="transaction"/>
|
|
</actions>
|
|
<widgets>
|
|
<!-- main defines the regions of the HTML page -->
|
|
<decorator-screen name="main-decorator" location="component://accounting/widget/CommonScreens.xml">
|
|
<!-- body is the primary display for this page and is called recursively -->
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://accounting/webapp/accounting/transaction/TransactionsTabBar.ftl"/></html>
|
|
</platform-specific>
|
|
|
|
<container>
|
|
<label style="head1">${uiLabelMap.${labelTitleProperty}}</label>
|
|
</container>
|
|
|
|
<!-- Now call the SimpleScreen form -->
|
|
<decorator-section-include name="body"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- presents a lookup form and list of results -->
|
|
<screen name="FindGatewayResponses">
|
|
<section>
|
|
<actions>
|
|
<set field="title" value="Find Gateway Responses"/>
|
|
<set field="titleProperty" value="PageTitleFindGatewayResponses"/> <!-- shows up in browser title bar -->
|
|
<set field="tabButtonItem" value="gatewayresponsestab"/>
|
|
<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="GenericTransactionDecorator">
|
|
<decorator-section name="body">
|
|
<container>
|
|
<label style="head1">${uiLabelMap.AccountingGatewayResponses}</label>
|
|
</container>
|
|
<include-form name="FindGatewayResponses" location="component://accounting/widget/TransactionForms.xml"/>
|
|
<include-form name="ListGatewayResponses" location="component://accounting/widget/TransactionForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- view a particular gateway response -->
|
|
<screen name="ViewGatewayResponse">
|
|
<section>
|
|
<actions>
|
|
<set field="title" value="View Gateway Response"/>
|
|
<set field="titleProperty" value="PageTitleViewGatewayResponse"/>
|
|
<set field="tabButtonItem" value="gatewayresponsestab"/>
|
|
|
|
<set field="paymentGatewayResponseId" from-field="parameters.paymentGatewayResponseId"/>
|
|
<set field="orderPaymentPreferenceId" from-field="parameters.orderPaymentPreferenceId"/>
|
|
|
|
<entity-one entity-name="PaymentGatewayResponse" value-name="paymentGatewayResponse" auto-field-map="true"/>
|
|
|
|
<script location="component://accounting/webapp/accounting/WEB-INF/actions/transaction/viewGatewayResponse.bsh"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="GenericTransactionDecorator">
|
|
<decorator-section name="body">
|
|
<container>
|
|
<label style="head1">${uiLabelMap.AccountingGatewayResponse}</label>
|
|
</container>
|
|
<include-form name="ViewGatewayResponseRelations" location="component://accounting/widget/TransactionForms.xml"/>
|
|
<include-form name="ViewGatewayResponse" location="component://accounting/widget/TransactionForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- form to authorize a transaction -->
|
|
<screen name="AuthorizeTransaction">
|
|
<section>
|
|
<actions>
|
|
<set field="title" value="Authorize Transaction"/>
|
|
<set field="titleProperty" value="AccountingAuthorize"/>
|
|
<set field="tabButtonItem" value="authorizetransactiontab"/>
|
|
|
|
<set field="orderId" from-field="parameters.orderId"/>
|
|
<set field="orderPaymentPreferenceId" from-field="parameters.orderPaymentPreferenceId"/>
|
|
|
|
<entity-one entity-name="OrderPaymentPreference" value-name="opp">
|
|
<field-map field-name="orderPaymentPreferenceId" env-name="orderPaymentPreferenceId"/>
|
|
</entity-one>
|
|
<set field="paymentMethodTypeId" from-field="opp.paymentMethodTypeId"/>
|
|
|
|
<script location="component://accounting/webapp/accounting/WEB-INF/actions/transaction/authorizeTransaction.bsh"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="GenericTransactionDecorator">
|
|
<decorator-section name="body">
|
|
<include-form name="AuthorizeTransaction" location="component://accounting/widget/TransactionForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- form to capture a transaction -->
|
|
<screen name="CaptureTransaction">
|
|
<section>
|
|
<actions>
|
|
<set field="title" value="Capture Transaction"/>
|
|
<set field="titleProperty" value="AccountingCapture"/>
|
|
<set field="tabButtonItem" value="capturetransactiontab"/>
|
|
|
|
<set field="orderId" from-field="parameters.orderId"/>
|
|
<set field="orderPaymentPreferenceId" from-field="parameters.orderPaymentPreferenceId"/>
|
|
|
|
<entity-one entity-name="OrderPaymentPreference" value-name="opp">
|
|
<field-map field-name="orderPaymentPreferenceId" env-name="orderPaymentPreferenceId"/>
|
|
</entity-one>
|
|
<set field="paymentMethodTypeId" from-field="opp.paymentMethodTypeId"/>
|
|
|
|
<script location="component://accounting/webapp/accounting/WEB-INF/actions/transaction/captureTransaction.bsh"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="GenericTransactionDecorator">
|
|
<decorator-section name="body">
|
|
<include-form name="CaptureTransaction" location="component://accounting/widget/TransactionForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|
|
|