Author: jleroux
Date: Thu Jan 1 15:25:38 2009 New Revision: 730641 URL: http://svn.apache.org/viewvc?rev=730641&view=rev Log: <string-to-list(.*)list-name= => <string-to-list$1list= Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderDeliveryServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml Thu Jan 1 15:25:38 2009 @@ -47,7 +47,7 @@ <log level="always" message="context: ${context}"/> <set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> - <string-to-list list-name="targetOperationList" string="CONTENT_CREATE"/> + <string-to-list list="targetOperationList" string="CONTENT_CREATE"/> <set field="context.targetOperationList" from-field="targetOperationList"/> <session-to-field field-name="userLogin" map-name="context" session-name="userLogin"/> @@ -109,7 +109,7 @@ <map-to-map map-name="currentContent" to-map-name="context"/> <get-related value-field="currentContent" relation-name="ContentPurpose" list="contentPurposeList"/> <set field="context.contentPurposeList" from-field="contentPurposeList"/> - <string-to-list list-name="targetOperationList" string="CONTENT_UPDATE"/> + <string-to-list list="targetOperationList" string="CONTENT_UPDATE"/> <set field="context.targetOperationList" from-field="targetOperationList"/> <session-to-field field-name="userLogin" map-name="context" session-name="userLogin"/> <call-service in-map-name="context" service-name="updateContent"> @@ -127,9 +127,9 @@ <set field="context3.contentIdFrom" from-field="parameters.contentId"/> <set field="context3.contentAssocTypeId" from-field="parameters.contentAssocTypeId"/> <session-to-field field-name="userLogin" map-name="context3" session-name="userLogin"/> - <string-to-list list-name="contentPurposeList" string="_NA_"/> + <string-to-list list="contentPurposeList" string="_NA_"/> <set field="context3.contentPurposeList" from-field="contentPurposeList"/> - <string-to-list list-name="targetOperationList" string="ASSOC_CONTENT"/> + <string-to-list list="targetOperationList" string="ASSOC_CONTENT"/> <set field="context3.targetOperationList" from-field="targetOperationList"/> <call-service in-map-name="context3" service-name="assocContent"></call-service> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml Thu Jan 1 15:25:38 2009 @@ -32,7 +32,7 @@ <log level="always" message="currentContent: ${currentContent}"/> <field-to-list field="contentPurposeTypeId" list="contentPurposeList" map-name="parameters"/> - <string-to-list list-name="targetOperationList" string="CONTENT_CREATE"/> + <string-to-list list="targetOperationList" string="CONTENT_CREATE"/> <set field="context.currentContent" from-field="currentContent"/> <set field="context.contentPurposeList" from-field="contentPurposeList"/> <set field="context.targetOperationList" from-field="targetOperationList"/> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/layout/LayoutEvents.xml Thu Jan 1 15:25:38 2009 @@ -31,7 +31,7 @@ <map-to-map map-name="currentContent" to-map-name="context"/> <log level="always" message="context: ${context}"/> <set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> - <string-to-list list-name="targetOperationList" string="CONTENT_CREATE"/> + <string-to-list list="targetOperationList" string="CONTENT_CREATE"/> <set field="context.targetOperationList" from-field="targetOperationList"/> <session-to-field field-name="userLogin" map-name="context" session-name="userLogin"/> <set field="context.objectInfo" from-field="parameters.drObjectInfo"/> @@ -60,7 +60,7 @@ <set-nonpk-fields map="parameters" value-field="currentContent"/> <set field="context.currentContent" from-field="currentContent"/> <set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> - <string-to-list list-name="targetOperationList" string="CONTENT_CREATE"/> + <string-to-list list="targetOperationList" string="CONTENT_CREATE"/> <set field="context.targetOperationList" from-field="targetOperationList"/> <session-to-field field-name="userLogin" map-name="context" session-name="userLogin"/> <call-service in-map-name="context" service-name="checkContentPermission"> Modified: ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml (original) +++ ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Thu Jan 1 15:25:38 2009 @@ -77,7 +77,7 @@ <set from-field="userLoginContext.userLoginId" field="userLoginExistsMap.userLoginId"/> <find-by-primary-key entity-name="UserLogin" map="userLoginExistsMap" value-field="existingUserLogin"/> <if-not-empty field="existingUserLogin"> - <string-to-list string="Username in use, please choose another." message-field-name="USERNAME" list-name="error_list"/> + <string-to-list string="Username in use, please choose another." message-field-name="USERNAME" list="error_list"/> </if-not-empty> </if-not-empty> @@ -157,13 +157,13 @@ <if-compare value="USA" operator="equals" field="parameters.CUSTOMER_COUNTRY"> <if-empty field="parameters.CUSTOMER_STATE"> <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> - <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list-name="error_list"/> + <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list="error_list"/> </if-empty> </if-compare> <if-compare value="CAN" operator="equals" field="parameters.CUSTOMER_COUNTRY"> <if-empty field="parameters.CUSTOMER_STATE"> <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> - <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list-name="error_list"/> + <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list="error_list"/> </if-empty> </if-compare> </else> @@ -742,13 +742,13 @@ <if-compare value="USA" operator="equals" field="parameters.countryGeoId"> <if-empty field="parameters.stateProvinceGeoId"> <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> - <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list-name="error_list"/> + <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list="error_list"/> </if-empty> </if-compare> <if-compare value="CAN" operator="equals" field="parameters.countryGeoId"> <if-empty field="parameters.stateProvinceGeoId"> <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> - <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list-name="error_list"/> + <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list="error_list"/> </if-empty> </if-compare> <check-errors/> Modified: ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml (original) +++ ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml Thu Jan 1 15:25:38 2009 @@ -109,7 +109,7 @@ </if-not-empty> <if-not-empty field="routing"> <set from-field="routing.workEffortId" field="lookupTasks.workEffortIdFrom"/> - <string-to-list string="sequenceNum" list-name="tasksOrder"/> + <string-to-list string="sequenceNum" list="tasksOrder"/> <set value="ROUTING_COMPONENT" field="lookupTasks.workEffortAssocTypeId"/> <find-by-and entity-name="WorkEffortAssoc" list="tasks" map="lookupTasks" order-by-list="tasksOrder"/> <filter-list-by-date list="tasks"/> @@ -120,7 +120,7 @@ </simple-method> <simple-method method-name="getRoutingTaskAssocs" short-description="Get the routing task assocs of a given routing"> <set from-field="parameters.workEffortId" field="lookupTasks.workEffortIdFrom"/> - <string-to-list string="sequenceNum" list-name="tasksOrder"/> + <string-to-list string="sequenceNum" list="tasksOrder"/> <set value="ROUTING_COMPONENT" field="lookupTasks.workEffortAssocTypeId"/> <find-by-and entity-name="WorkEffortAssoc" list="routingTaskAssocs" map="lookupTasks" order-by-list="tasksOrder"/> <filter-list-by-date list="routingTaskAssocs"/> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderDeliveryServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderDeliveryServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderDeliveryServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderDeliveryServices.xml Thu Jan 1 15:25:38 2009 @@ -168,7 +168,7 @@ </condition> <then> <set field="hasSupplierRelatedPermission" value="false"/> - <string-to-list list-name="error_list" string="ERROR: You do not have permission to ${checkAction} Delivery Schedule Information; you must be associated with this order as a Supplier Agent or have the ORDERMGR_${checkAction} permission."/> + <string-to-list list="error_list" string="ERROR: You do not have permission to ${checkAction} Delivery Schedule Information; you must be associated with this order as a Supplier Agent or have the ORDERMGR_${checkAction} permission."/> </then> <else> <set field="hasSupplierRelatedPermission" value="true"/> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml Thu Jan 1 15:25:38 2009 @@ -382,7 +382,7 @@ and add 1 to returnItemSeqId to get the new returnItemSeqId --> <set from-field="parameters.returnId" field="newEntity.returnId"/> <set from-field="parameters.returnId" field="lookupMap.returnId"/> - <string-to-list string="-returnItemSeqId" list-name="orderBy"/> + <string-to-list string="-returnItemSeqId" list="orderBy"/> <find-by-and entity-name="ReturnItem" list="currentItems" map="lookupMap" order-by-list="orderBy"></find-by-and> <if-empty field="currentItems"> <set value="1" field="newEntity.returnItemSeqId"/> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml Thu Jan 1 15:25:38 2009 @@ -29,7 +29,7 @@ </and> </condition> <then> - <string-to-list string="To get order summary information you must have the ORDERMGR_VIEW permission, or be logged in as the party to get the summary information for." list-name="error_list"/> + <string-to-list string="To get order summary information you must have the ORDERMGR_VIEW permission, or be logged in as the party to get the summary information for." list="error_list"/> </then> </if> <check-errors/> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml Thu Jan 1 15:25:38 2009 @@ -281,10 +281,10 @@ <set from-field="userLogin.partyId" field="lookupMap.partyId"/> <set from-field="parameters.roleTypeId" field="lookupMap.roleTypeId"/> - <string-to-list string="priority" list-name="orderByList"/> - <string-to-list string="-responseRequiredDate" list-name="orderByList"/> - <string-to-list string="-custRequestDate" list-name="orderByList"/> - <string-to-list string="-createdDate" list-name="orderByList"/> + <string-to-list string="priority" list="orderByList"/> + <string-to-list string="-responseRequiredDate" list="orderByList"/> + <string-to-list string="-custRequestDate" list="orderByList"/> + <string-to-list string="-createdDate" list="orderByList"/> <find-by-and entity-name="CustRequestAndRole" list="custRequestAndRoles" map="lookupMap" order-by-list="orderByList"/> <field-to-result field="custRequestAndRoles" result-name="custRequestAndRoles"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml Thu Jan 1 15:25:38 2009 @@ -474,7 +474,7 @@ <find-by-primary-key map="inventoryItemLookup" value-field="inventoryItem"/> <if-compare field="inventoryItem.inventoryItemTypeId" operator="not-equals" value="NON_SERIAL_INV_ITEM"> - <string-to-list string="Can only create an InventoryItemVariance for a Non-Serialized Inventory Item" list-name="error_list"/> + <string-to-list string="Can only create an InventoryItemVariance for a Non-Serialized Inventory Item" list="error_list"/> </if-compare> <check-errors/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml Thu Jan 1 15:25:38 2009 @@ -85,7 +85,7 @@ </entity-and> <if-empty field="productFacilityLocationViewList"> - <string-to-list string="Error in stock move, could not find a pick/primary location for facility [${parameters.facilityId}] and product [${productId}]" list-name="warningMessageList"/> + <string-to-list string="Error in stock move, could not find a pick/primary location for facility [${parameters.facilityId}] and product [${productId}]" list="warningMessageList"/> <else> <!-- should generally only be one pick/primary location, just choose the first... --> <first-from-list entry="productFacilityLocationView" list="productFacilityLocationViewList"/> @@ -121,7 +121,7 @@ <set from-field="totalAvailableToPromise" field="moveInfo.availableToPromiseTotalFrom"/> <if-compare-field field="totalQuantityOnHand" to-field="moveInfo.totalQuantity" operator="less" type="Double"> <!-- not enough on hand for move: add warning message, set moveInfo.totalQuantity to totalQuantityOnHand, and don't even bother looking for pre-emptive replenishment needs for this location right now --> - <string-to-list string="Warning in stock move: for facility [${parameters.facilityId}] and product [${productId}] going from location [${productFacilityLocation.locationSeqId}] to location [${moveInfo.targetProductFacilityLocation.locationSeqId}] a quantity of [${moveInfo.totalQuantity}] was needed but there are only [${totalQuantityOnHand}] on hand (this will be in the pick list with the full quantity on hand, but note that this will not be enough to prepare for all orders reserved against this location)" list-name="warningMessageList"/> + <string-to-list string="Warning in stock move: for facility [${parameters.facilityId}] and product [${productId}] going from location [${productFacilityLocation.locationSeqId}] to location [${moveInfo.targetProductFacilityLocation.locationSeqId}] a quantity of [${moveInfo.totalQuantity}] was needed but there are only [${totalQuantityOnHand}] on hand (this will be in the pick list with the full quantity on hand, but note that this will not be enough to prepare for all orders reserved against this location)" list="warningMessageList"/> <set from-field="totalQuantityOnHand" field="moveInfo.totalQuantity"/> <else> <!-- check ProductFacilityLocation for where this is going and see if we should do a pre-emptive transfer too... --> @@ -264,7 +264,7 @@ </entity-and> <if-empty field="inventoryItemAndLocationList"> - <string-to-list string="Error in stock move, could not find a bulk location for facility [${productFacilityLocationQuantityTest.facilityId}] and product [${productFacilityLocationQuantityTest.productId}]" list-name="warningMessageList"/> + <string-to-list string="Error in stock move, could not find a bulk location for facility [${productFacilityLocationQuantityTest.facilityId}] and product [${productFacilityLocationQuantityTest.productId}]" list="warningMessageList"/> <else> <set from-field="productFacilityLocationQuantityTest.moveQuantity" field="targetLocationMoveQuantity"/> <!-- start by making a Map where the locationSeqId is the key and the value is a List of InventoryItemAndLocation --> @@ -424,7 +424,7 @@ <if-compare field="quantityLeftToProcess" operator="greater" value="0" type="Double"> <!-- this really isn't good, that means more was moved than we found to move, how did that happen? --> - <string-to-list string="ERROR: Not enough available inventory found in location [${parameters.locationSeqId}] in facility [${parameters.facilityId}], did not reallocate ${quantityLeftToProcess} of the ${parameters.quantityMoved} reported as physically moved." list-name="warningMessageList"/> + <string-to-list string="ERROR: Not enough available inventory found in location [${parameters.locationSeqId}] in facility [${parameters.facilityId}], did not reallocate ${quantityLeftToProcess} of the ${parameters.quantityMoved} reported as physically moved." list="warningMessageList"/> </if-compare> <field-to-result field="warningMessageList"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml Thu Jan 1 15:25:38 2009 @@ -114,7 +114,7 @@ <!-- make sure the order is NOT of orderTypeId: SALES_ORDER --> <if-compare field="orderHeader.orderTypeId" operator="equals" value="SALES_ORDER"> - <string-to-list string="Not issuing Order Item to shipment [${parameters.shipmentId}] because the order is a Sales Order for order [${orderHeader.orderId}] order item [${parameters.orderItemSeqId}] (should call the issueOrderItemShipGrpInvResToShipment service)" list-name="error_list"/> + <string-to-list string="Not issuing Order Item to shipment [${parameters.shipmentId}] because the order is a Sales Order for order [${orderHeader.orderId}] order item [${parameters.orderItemSeqId}] (should call the issueOrderItemShipGrpInvResToShipment service)" list="error_list"/> </if-compare> <check-errors/> @@ -153,7 +153,7 @@ <!-- make sure the order is of orderTypeId: SALES_ORDER --> <if-compare field="orderHeader.orderTypeId" operator="not-equals" value="SALES_ORDER"> - <string-to-list string="Not issuing Order Item Ship Group Inventory Reservation to shipment [${parameters.shipmentId}] because the order is not a Sales Order for order [${orderItemShipGrpInvRes.orderId}] order item [${orderItemShipGrpInvRes.orderItemSeqId}] inventoryItem [${orderItemShipGrpInvRes.inventoryItemId}] (should call the issueOrderItemToShipment service)" list-name="error_list"/> + <string-to-list string="Not issuing Order Item Ship Group Inventory Reservation to shipment [${parameters.shipmentId}] because the order is not a Sales Order for order [${orderItemShipGrpInvRes.orderId}] order item [${orderItemShipGrpInvRes.orderItemSeqId}] inventoryItem [${orderItemShipGrpInvRes.inventoryItemId}] (should call the issueOrderItemToShipment service)" list="error_list"/> </if-compare> <!-- make sure specified quantity is not empty --> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml Thu Jan 1 15:25:38 2009 @@ -1078,7 +1078,7 @@ <set from-field="picklistRoleInfoList" field="picklistInfo.picklistRoleInfoList"/> <set from-field="picklistStatusHistoryInfoList" field="picklistInfo.picklistStatusHistoryInfoList"/> <set from-field="picklistBinInfoList" field="picklistInfo.picklistBinInfoList"/> - <string-to-list string="sequenceId" list-name="orderBy"/> + <string-to-list string="sequenceId" list="orderBy"/> <get-related-one value-field="picklist" relation-name="StatusItem" to-value-field="picklistInfo.statusItem" use-cache="true"/> <get-related-one value-field="picklist" relation-name="Facility" to-value-field="picklistInfo.facility" use-cache="true"/> <get-related-one value-field="picklist" relation-name="ShipmentMethodType" to-value-field="picklistInfo.shipmentMethodType" use-cache="true"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml?rev=730641&r1=730640&r2=730641&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml Thu Jan 1 15:25:38 2009 @@ -124,7 +124,7 @@ <field-map from-field="parameters.statusId" field-name="statusIdTo"/> </entity-one> <if-empty field="checkStatusValidChange"> - <string-to-list string="ERROR: Changing the status from ${lookedUpValue.statusId} to ${parameters.statusId} is not allowed." list-name="error_list"/> + <string-to-list string="ERROR: Changing the status from ${lookedUpValue.statusId} to ${parameters.statusId} is not allowed." list="error_list"/> </if-empty> <make-value entity-name="ShipmentStatus" value-field="newStatusValue"/> @@ -626,7 +626,7 @@ <clone-value value-field="shipment" new-value-field="shipmentCopy"/> - <string-to-list string="-fromDate" list-name="descendingFromDateOrder"/> + <string-to-list string="-fromDate" list="descendingFromDateOrder"/> <if-not-empty field="shipment.originFacilityId"> <if-empty field="shipment.originContactMechId"> <call-bsh><![CDATA[ @@ -1454,7 +1454,7 @@ <!-- make sure we have something to ship --> <if-empty field="perShipGroupItemList"> - <string-to-list string="No items available to ship at this time for ship group ID [${orderItemShipGroup.shipGroupSeqId}]" list-name="successMessageList"/> + <string-to-list string="No items available to ship at this time for ship group ID [${orderItemShipGroup.shipGroupSeqId}]" list="successMessageList"/> <else> <!-- create the shipment for this facility and ship group combination --> <set from-field="orderHeader.orderId" field="shipmentContext.primaryOrderId"/> @@ -1551,7 +1551,7 @@ <set from-field="facility.facilityId" field="shipmentShipGroupFacility.facilityId"/> <set from-field="orderItemShipGroup.shipGroupSeqId" field="shipmentShipGroupFacility.shipGroupSeqId"/> <field-to-list field="shipmentShipGroupFacility" list="shipmentShipGroupFacilityList"/> - <string-to-list string="Created shipment with ID [${shipmentShipGroupFacility.shipmentId}] for ship group ID [${shipmentShipGroupFacility.shipGroupSeqId}] for facility ID [${shipmentShipGroupFacility.facilityId}]" list-name="successMessageList"/> + <string-to-list string="Created shipment with ID [${shipmentShipGroupFacility.shipmentId}] for ship group ID [${shipmentShipGroupFacility.shipGroupSeqId}] for facility ID [${shipmentShipGroupFacility.facilityId}]" list="successMessageList"/> <clear-field field="shipmentShipGroupFacility"/> </else> </if-empty> @@ -1897,7 +1897,7 @@ <!-- make sure the order is of orderTypeId: SALES_ORDER --> <if-compare field="orderHeader.orderTypeId" operator="not-equals" value="SALES_ORDER"> - <string-to-list string="Not adding Order Item to plan for shipment [${parameters.shipmentId}] because the order is not a Sales Order for order [${parameters.orderId}] order item [${parameters.orderItemSeqId}]" list-name="error_list"/> + <string-to-list string="Not adding Order Item to plan for shipment [${parameters.shipmentId}] because the order is not a Sales Order for order [${parameters.orderId}] order item [${parameters.orderItemSeqId}]" list="error_list"/> </if-compare> <!-- get orderItem --> @@ -1910,7 +1910,7 @@ <set-pk-fields value-field="orderShipmentLookup" map="parameters"/> <find-by-and entity-name="OrderShipment" map="orderShipmentLookup" list="existingOrderShipments"/> <if-not-empty field="existingOrderShipments"> - <string-to-list string="Not adding Order Item to plan for shipment [${parameters.shipmentId}] because the order item is already in the shipment (order [${parameters.orderId}], order item [${parameters.orderItemSeqId}])" list-name="error_list"/> + <string-to-list string="Not adding Order Item to plan for shipment [${parameters.shipmentId}] because the order item is already in the shipment (order [${parameters.orderId}], order item [${parameters.orderItemSeqId}])" list="error_list"/> </if-not-empty> <set from-field="parameters.orderId" field="inputMap.orderId"/> @@ -1920,7 +1920,7 @@ </call-service> <if-compare-field field="parameters.quantity" to-field="remainingQuantity" operator="greater" type="Double"> - <string-to-list string="Not adding Order Item to plan for shipment [${parameters.shipmentId}] because the quantity is greater than the remaining quantity (order [${parameters.orderId}], order item [${parameters.orderItemSeqId}])" list-name="error_list"/> + <string-to-list string="Not adding Order Item to plan for shipment [${parameters.shipmentId}] because the quantity is greater than the remaining quantity (order [${parameters.orderId}], order item [${parameters.orderItemSeqId}])" list="error_list"/> </if-compare-field> <check-errors/> <clear-field field="inputMap"/> |
Free forum by Nabble | Edit this page |