[ofbiz-framework] branch trunk updated: Reverted: Use Compound Widget on rest of the project (OFBIZ-11821)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Reverted: Use Compound Widget on rest of the project (OFBIZ-11821)

James Yong-2
This is an automated email from the ASF dual-hosted git repository.

jamesyong pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 49601e1  Reverted: Use Compound Widget on rest of the project (OFBIZ-11821)
49601e1 is described below

commit 49601e121334f7201108d9d158a11c20f5accb5f
Author: James Yong <[hidden email]>
AuthorDate: Sat Jun 20 20:12:35 2020 +0800

    Reverted: Use Compound Widget on rest of the project (OFBIZ-11821)
   
    Removed FindRequestCompound.xml
---
 .../order/widget/ordermgr/FindRequestCompound.xml  | 131 ---------------------
 1 file changed, 131 deletions(-)

diff --git a/applications/order/widget/ordermgr/FindRequestCompound.xml b/applications/order/widget/ordermgr/FindRequestCompound.xml
deleted file mode 100644
index d05749d..0000000
--- a/applications/order/widget/ordermgr/FindRequestCompound.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-<?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.
--->
-<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
-    <site-conf>
-        <request-map uri="FindRequest">
-            <security https="true" auth="true"/>
-            <response name="success" type="view" value="FindRequest"/>
-        </request-map>
-        <view-map name="FindRequest" type="screen" page="component://order/widget/ordermgr/FindRequestCompound.xml#FindRequest"/>
-    </site-conf>
-    <screens>
-        <screen name="FindRequest">
-            <section>
-                <actions>
-                    <set field="titleProperty" value="OrderFindRequests"/>
-                    <set field="headerItem" value="request"/>
-                    <set field="entityName" value="CustRequest"/>
-                    <set field="asm_multipleSelectForm" value="FindRequests"/>
-                    <set field="asm_asmListItemPercentOfForm" value="110"/>
-                    <set field="custRequestType.asm_multipleSelect"  value="FindRequests_custRequestTypeId"/>
-                    <set field="custRequestType.asm_sortable" value="true"/>
-                    <set field="custRequestType.asm_title" value=" "/>
-                    <set field="statusId.asm_multipleSelect"  value="FindRequests_statusId"/>
-                    <set field="statusId.asm_sortable" value="true"/>
-                    <set field="statusId.asm_title" value=" "/>
-                    <set field="productStoreId.asm_multipleSelect"  value="FindRequests_productStoreId"/>
-                    <set field="productStoreId.asm_sortable" value="true"/>
-                    <set field="productStoreId.asm_title" value=" "/>
-                    <set field="salesChannelEnumId.asm_multipleSelect"  value="FindRequests_salesChannelEnumId"/>
-                    <set field="salesChannelEnumId.asm_sortable" value="true"/>
-                    <set field="salesChannelEnumId.asm_title" value=" "/>
-                    <set field="asm_listField[]" from-field="custRequestType"/>
-                    <set field="asm_listField[]" from-field="statusId"/>
-                    <set field="asm_listField[]" from-field="productStoreId"/>
-                    <set field="asm_listField[]" from-field="salesChannelEnumId"/>
-                </actions>
-                <widgets>
-                    <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
-                        <decorator-section name="body">
-                            <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
-                                <decorator-section name="menu-bar">
-                                    <container style="button-bar">
-                                        <link target="request" text="${uiLabelMap.OrderNewRequest}" style="buttontext create"/>
-                                    </container>
-                                </decorator-section>
-                                <decorator-section name="search-options">
-                                    <platform-specific><html><html-template multi-block="true" location="component://common-theme/template/includes/SetMultipleSelectJsList.ftl"/></html></platform-specific>
-                                    <include-form name="FindRequests" location="component://order/widget/ordermgr/FindRequestCompound.xml"/>
-                                </decorator-section>
-                                <decorator-section name="search-results">
-                                    <include-form name="ListRequests" location="component://order/widget/ordermgr/CustRequestForms.xml"/>
-                                </decorator-section>
-                            </decorator-screen>
-                        </decorator-section>
-                    </decorator-screen>
-                </widgets>
-            </section>
-        </screen>
-    </screens>
-
-    <forms>
-        <form name="FindRequests" target="FindRequest" title="" type="single" default-map-name="parameters"
-              header-row-style="header-row" default-table-style="basic-table">
-            <auto-fields-entity entity-name="CustRequest" default-field-type="find"/>
-            <field name="custRequestTypeId" position="2">
-                <drop-down allow-empty="true" allow-multiple="true">
-                    <entity-options entity-name="CustRequestType" key-field-name="custRequestTypeId"/>
-                </drop-down>
-            </field>
-            <field name="statusId">
-                <drop-down allow-multiple="true">
-                    <entity-options entity-name="StatusItem" key-field-name="statusId">
-                        <entity-constraint name="statusTypeId" operator="equals" value="CUSTREQ_STTS"/>
-                        <entity-order-by field-name="sequenceId"/>
-                    </entity-options>
-                </drop-down>
-            </field>
-            <field name="salesChannelEnumId" title="${uiLabelMap.OrderSalesChannel}" position="2">
-                <drop-down allow-empty="true" allow-multiple="true">
-                    <entity-options entity-name="Enumeration" key-field-name="enumId">
-                        <entity-constraint name="enumTypeId" value="ORDER_SALES_CHANNEL"/>
-                        <entity-order-by field-name="sequenceId"/>
-                    </entity-options>
-                </drop-down>
-            </field>
-            <field name="fromPartyId" position="2"><lookup target-form-name="LookupPartyName"/></field>
-            <field name="currencyUomId"><ignored/></field>
-            <field name="maximumAmountUomId"><ignored/></field>
-            <field name="custRequestCategoryId"><ignored/></field>
-            <field name="fulfillContactMechId"><ignored/></field>
-            <field name="priority"><ignored/></field>
-            <field name="description"><ignored/></field>
-            <field name="createdDate"><ignored/></field>
-            <field name="createdByUserLogin"><ignored/></field>
-            <field name="lastModifiedDate"><ignored/></field>
-            <field name="lastModifiedByUserLogin"><ignored/></field>
-            <field name="closedDateTime" position="2"><date-find/></field>
-            <field name="responseRequiredDate" position="2"><date-find/></field>
-            <field name="productStoreId" title="${uiLabelMap.ProductProductStore}">
-                <drop-down allow-empty="true" allow-multiple="true">
-                    <entity-options description="${storeName}" entity-name="ProductStore" key-field-name="productStoreId">
-                        <entity-order-by field-name="storeName"/>
-                    </entity-options>
-                </drop-down>
-            </field>
-            <field name="reason" position="2"><text/></field>
-            <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit">
-                <submit button-type="button"/>
-            </field>
-            <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
-        </form>
-    </forms>
-</compound-widgets>
\ No newline at end of file