Files
ofbiz-framework/applications/order/widget/ordermgr/OrderEntryForms.xml
T
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \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
2009-04-08 10:54:51 +00:00

195 lines
11 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.
-->
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
<form name="FindRequirements" type="single" target="RequirementsForSupplier" title=""
default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext">
<field name="showList"><hidden value="Y"/></field>
<field name="requirementId"><text-find/></field>
<field name="partyId" title="${uiLabelMap.PartySupplier}"><lookup target-form-name="LookupPartyName"/></field>
<field name="productId" title="${uiLabelMap.ProductProductId}"><lookup target-form-name="LookupProduct"/></field>
<field name="requirementByDate"><date-find type="date"/></field>
<field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="RequirementsList" type="multi" use-row-submit="true" target="addRequirementsToCart" title="" list-name="requirementsForSupplier"
default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext"
paginate-target="RequirementsForSupplier">
<actions>
<service service-name="prepareFind" result-map="resultConditions">
<field-map field-name="inputFields" from-field="requestParameters"/>
<field-map field-name="entityName" from-field="entityName"/>
</service>
<service service-name="getRequirementsForSupplier" result-map="result" result-map-list="requirementsForSupplier">
<!--<field-map field-name="orderByList" from-field="resultConditions.orderByList"/>-->
<field-map field-name="requirementConditions" from-field="resultConditions.entityConditionList"/>
<field-map field-name="partyId" from-field="parameters.partyId"/>
</service>
</actions>
<field name="requirementId"><display/></field>
<field name="productId"><hidden value="${productId}"/></field>
<field name="productId">
<display-entity entity-name="Product" key-field-name="productId" description="${productId} - ${internalName}"/>
</field>
<field name="requiredByDate"><display/></field>
<field name="quantity"><text/></field>
<field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><check/></field>
<field name="submitButton" widget-style="smallSubmit"><submit/></field>
</form>
<form name="FindQuotes" target="FindQuoteForCart" title="" type="single"
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-entity entity-name="Quote" default-field-type="find"/>
<field name="quoteId" title="${uiLabelMap.OrderOrderQuoteId}"></field>
<field name="quoteTypeId" title="${uiLabelMap.OrderOrderQuoteTypeId}">
<drop-down allow-empty="true">
<entity-options description="${description}" entity-name="QuoteType" key-field-name="quoteTypeId"/>
</drop-down>
</field>
<field name="partyId" title="${uiLabelMap.PartyPartyId}">
<lookup target-form-name="LookupPartyName"/>
</field>
<field name="issueDate" title="${uiLabelMap.OrderOrderQuoteIssueDate}"></field>
<field name="statusId"><hidden/></field>
<field name="currencyUomId"><hidden/></field>
<field name="validFromDate"><hidden/></field>
<field name="validThruDate"><hidden/></field>
<field name="description"><hidden/></field>
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit">
<submit button-type="button"/>
</field>
</form>
<form name="ListQuotes" list-name="listIt" target="" title="" type="list"
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="tabletext"
paginate-target="FindQuoteForCart">
<actions>
<set field="entityName" value="Quote"/>
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="requestParameters"/>
<field-map field-name="entityName" from-field="entityName"/>
</service>
</actions>
<auto-fields-entity entity-name="Quote" default-field-type="display"/>
<field name="quoteId" title="${uiLabelMap.OrderOrderQuoteId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${quoteId}" target="loadCartFromQuote">
<parameter param-name="quoteId"/>
</hyperlink>
</field>
<field name="quoteTypeId" title="${uiLabelMap.OrderOrderQuoteTypeId}">
<display-entity entity-name="QuoteType"/>
</field>
<field name="partyId" title="${uiLabelMap.PartyPartyId}"></field>
<field name="description" title="${uiLabelMap.CommonDescription}"></field>
<field name="issueDate" title="${uiLabelMap.OrderOrderQuoteIssueDate}"></field>
<field name="validFromDate" title="${uiLabelMap.CommonValidFromDate}"></field>
<field name="validThruDate" title="${uiLabelMap.CommonValidThruDate}"></field>
<field name="statusId"><hidden/></field>
<field name="currencyUomId"><hidden/></field>
</form>
<form name="ViewShoppingLists" type="list" list-name="customershoppinglists" target=""
default-title-style="tableheadtext" default-widget-style="tabletext">
<field name="listName" title="${uiLabelMap.PageTitleShoppingList}"><display/></field>
<field name="shoppingListTypeId" title="${uiLabelMap.OrderListType}">
<display-entity entity-name="ShoppingListType"/>
</field>
<field name="description" title="${uiLabelMap.CommonDescription}"><display/></field>
<field name="addFromList" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="addFromShoppingList" description="${uiLabelMap.OrderToAddSelectedItemsToShoppingList}" also-hidden="false">
<parameter param-name="shoppingListId"/>
</hyperlink>
</field>
<field name="addAllFromList" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="addAllFromShoppingList" description="${uiLabelMap.OrderQuickAdd}" also-hidden="false">
<parameter param-name="shoppingListId"/>
</hyperlink>
</field>
</form>
<form name="AddFromShoppingList" type="list" list-name="shoppinglistitems" target=""
default-title-style="tableheadtext" default-widget-style="tabletext">
<auto-fields-entity entity-name="ShoppingListItem" default-field-type="display"/>
<field name="productId" title="${uiLabelMap.ProductProduct}">
<display-entity entity-name="Product" description="${productId} - ${description}"/>
</field>
<field name="addToCart" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="additem/editShoppingList" description="${uiLabelMap.CommonAdd} ${quantity} ${uiLabelMap.OrderAddQntToOrder}" also-hidden="false">
<parameter param-name="shoppingListId"/>
<parameter param-name="shoppingListItemSeqId"/>
<parameter param-name="add_product_id" from-field="productId"/>
<parameter param-name="quantity"/>
<parameter param-name="configId"/>
</hyperlink>
</field>
</form>
<form name="AddFromShoppingListAll" type="single" target="">
<field name="addAllFromList" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="addAllFromShoppingList" description="${uiLabelMap.OrderQuickAdd}" also-hidden="false">
<parameter param-name="shoppingListId"/>
</hyperlink>
</field>
<field name="returnToOrderEntry" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="orderentry" description="${uiLabelMap.OrderOrderReturn}" also-hidden="false"/>
</field>
</form>
<form name="LookupBulkAddProducts" type="multi" use-row-submit="true" list-name="productList" title="" target="BulkAddProducts"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="LookupBulkAddProducts">
<field name="productId" title="${uiLabelMap.ProductProductId}" widget-style="buttontext">
<hyperlink description="${productId}" target="/catalog/control/EditProductInventoryItems" target-type="inter-app">
<parameter param-name="productId"/>
</hyperlink>
</field>
<field name="brandName" title="${uiLabelMap.ProductBrandName}"><display/></field>
<field name="internalName"><display/></field>
<field name="quantity" title="${uiLabelMap.OrderQuantity}">
<text size="5" maxlength="10"/>
</field>
<field name="amount" title="${uiLabelMap.OrderAmount}">
<text size="5" maxlength="10"/>
</field>
<field name="itemDesiredDeliveryDate" title="${uiLabelMap.OrderDesiredDeliveryDate}">
<date-time/>
</field>
<field name="submitButton" title="${uiLabelMap.OrderAddToOrder}" widget-style="smallSubmit">
<submit/>
</field>
</form>
<form name="LookupBulkAddSupplierProducts" type="multi" use-row-submit="true" list-name="productList" title="" target="BulkAddProducts"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="LookupBulkAddSupplierProducts">
<field name="productId" widget-style="buttontext">
<hyperlink description="${productId}" target="/catalog/control/EditProductInventoryItems" target-type="inter-app">
<parameter param-name="productId"/>
</hyperlink>
</field>
<field name="supplierProductId"><display/></field>
<field name="supplierProductName"><display/></field>
<field name="lastPrice"><display/></field>
<field name="minimumOrderQuantity"><display/></field>
<field name="quantity" title="${uiLabelMap.OrderQuantity}">
<text size="5" maxlength="10"/>
</field>
<field name="itemDesiredDeliveryDate" title="${uiLabelMap.OrderDesiredDeliveryDate}">
<date-time/>
</field>
<field name="submitButton" title="${uiLabelMap.OrderAddToOrder}" widget-style="smallSubmit">
<submit/>
</field>
</form>
</forms>