Author: jleroux
Date: Wed Dec 31 02:40:29 2008 New Revision: 730369 URL: http://svn.apache.org/viewvc?rev=730369&view=rev Log: <property-to-field(.*)field-name => <property-to-field$1field <store-value value-name => <store-value value-field ... Weird : I have already done this one in r730190 ! Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/segment/SegmentServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.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/order/script/org/ofbiz/order/requirement/RequirementServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyPermissionServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ConfigServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/promo/PromoServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/rental/RentalServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/permission/WorkEffortPermissionServices.xml ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/EnumerationServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml ofbiz/trunk/framework/example/script/org/ofbiz/example/ExamplePermissionServices.xml ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectPermissionServices.xml Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml Wed Dec 31 02:40:29 2008 @@ -32,7 +32,7 @@ <simple-method method-name="updateCostComponentCalc" short-description="Update a CostComponentCalc entry"> <entity-one entity-name="CostComponentCalc" value-field="costComponentCalc"/> <set-nonpk-fields map="parameters" value-field="costComponentCalc"/> - <store-value value-name="costComponentCalc"/> + <store-value value-field="costComponentCalc"/> </simple-method> <simple-method method-name="removeCostComponentCalc" short-description="Remove a CostComponentCalc entry"> <entity-one entity-name="CostComponentCalc" value-field="costComponentCalc"/> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml Wed Dec 31 02:40:29 2008 @@ -22,8 +22,8 @@ xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-method method-name="getArithmeticSettingsInline" short-description="getArithmeticSettingsInline"> - <property-to-field resource="arithmetic" property="finaccount.decimals" field-name="roundingDecimals" default="2"/> - <property-to-field resource="arithmetic" property="finaccount.roundingSimpleMethod" field-name="roundingMode" default="HalfUp"/> + <property-to-field resource="arithmetic" property="finaccount.decimals" field="roundingDecimals" default="2"/> + <property-to-field resource="arithmetic" property="finaccount.roundingSimpleMethod" field="roundingMode" default="HalfUp"/> <log level="info" message="Got settings from arithmetic.properties: roundingDecimals=${roundingDecimals}, roundingMode=${roundingMode}"/> </simple-method> @@ -48,7 +48,7 @@ <!-- set the currency if none is already set --> <if-empty field="newEntity.currencyUomId"> - <property-to-field resource="general" property="currency.uom.id.default" field-name="defaultCurrency"/> + <property-to-field resource="general" property="currency.uom.id.default" field="defaultCurrency"/> <set field="newEntity.currencyUomId" from-field="defaultCurrency"/> </if-empty> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml Wed Dec 31 02:40:29 2008 @@ -242,7 +242,7 @@ <set field="emailParams.bodyParameters.userLogin" from-field="parameters.userLogin"/> <set field="emailParams.bodyParameters.other" from-field="parameters.other"/><!-- to to print in 'other currency' --> <call-service-asynch service-name="sendMailFromScreen" in-map-name="emailParams"/> - <property-to-field resource="AccountingUiLabels" property="AccountingEmailScheduledToSend" field-name="successMessage"/> + <property-to-field resource="AccountingUiLabels" property="AccountingEmailScheduledToSend" field="successMessage"/> </simple-method> <simple-method method-name="createInvoiceItem" short-description="Create a new Invoice Item"> @@ -377,12 +377,12 @@ </if-compare> <check-errors/> <field-to-result field="paymentApplication.invoiceId" result-name="invoiceId"/> - <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplToInvoice" field-name="toMessage"/> + <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplToInvoice" field="toMessage"/> </if-not-empty> <!-- invoice item --> <if-not-empty field="paymentApplication.invoiceItemSeqId"> <field-to-result field="paymentApplication.invoiceItemSeqId" result-name="invoiceItemSeqId"/> - <property-to-field resource="AccountingUiLabels" property="AccountingApplicationToInvoiceItem" field-name="toMessage"/> + <property-to-field resource="AccountingUiLabels" property="AccountingApplicationToInvoiceItem" field="toMessage"/> </if-not-empty> <!-- toPayment --> <if-not-empty field="paymentApplication.toPaymentId"> @@ -395,13 +395,13 @@ </if-compare> <check-errors/> </if-not-empty> - <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplToPayment" field-name="toMessage"/> + <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplToPayment" field="toMessage"/> <field-to-result field="paymentApplication.toPaymentId" result-name="toPaymentId"/> </if-not-empty> <!-- billing account --> <if-not-empty field="paymentApplication.billingAccountId"> <field-to-result field="paymentApplication.billingAccountId" result-name="billingAccountId"/> - <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplToBillingAccount" field-name="toMessage"/> + <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplToBillingAccount" field="toMessage"/> <entity-one entity-name="BillingAccount" value-field="billingAccount"> <field-map field-name="billingAccountId" from-field="paymentApplication.billingAccountId"/> </entity-one> @@ -410,10 +410,10 @@ <!-- tax authority --> <if-not-empty field="paymentApplication.taxAuthGeoId"> <field-to-result field="paymentApplication.taxAuthGeoId" result-name="taxAuthGeoId"/> - <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplToTaxAuth" field-name="toMessage"/> + <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplToTaxAuth" field="toMessage"/> </if-not-empty> <!-- finally delete application --> - <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplRemoved" field-name="successMessage"/> + <property-to-field resource="AccountingUiLabels" property="AccountingPaymentApplRemoved" field="successMessage"/> <string-append field-name="successMessage" string=" ${toMessage}"/> <remove-value value-field="paymentApplication"/> </simple-method> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml Wed Dec 31 02:40:29 2008 @@ -45,7 +45,7 @@ <set from-field="userLogin.userLoginId" field="lookedUpValue.lastModifiedByUserLogin"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteAcctgTrans" short-description="Delete an AcctgTrans"> <entity-one entity-name="AcctgTrans" value-field="lookedUpValue"/> @@ -59,7 +59,7 @@ <!-- this is just a little method that is meant to be called as an inline call-simple-method target with the context already setup --> <entity-one entity-name="AcctgTrans" value-field="lookedUpACTX"/> <set from-field="userLogin.userLoginId" field="lookedUpACTX.lastModifiedByUserLogin"/> - <store-value value-name="lookedUpACTX"/> + <store-value value-field="lookedUpACTX"/> </simple-method> <!-- ========= AcctgTransEntry methods ========= --> @@ -126,7 +126,7 @@ </if-compare> <entity-one entity-name="AcctgTransEntry" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> <!-- when changing entries, also update the last modified info for the AcctgTrans --> <call-simple-method method-name="updateAcctgTransLastModified"/> @@ -146,8 +146,8 @@ <!-- AcctgTrans Trial Balance and Post routines --> <simple-method method-name="calculateAcctgTransTrialBalance" short-description="Calculate Trial Balance for a AcctgTrans"> - <property-to-field resource="arithmetic" property="ledger.decimals" field-name="ledgerDecimals"/> - <property-to-field resource="arithmetic" property="ledger.rounding" field-name="roundingMode"/> + <property-to-field resource="arithmetic" property="ledger.decimals" field="ledgerDecimals"/> + <property-to-field resource="arithmetic" property="ledger.rounding" field="roundingMode"/> <log level="info" message="Using ledger decimals [${ledgerDecimals}] and rounding [${roundingMode}]"/> @@ -303,7 +303,7 @@ <else> <!-- assign the transaction to the error journal --> <set field="acctgTrans.glJournalId" from-field="partyAcctgPreference.errorGlJournalId"/> - <store-value value-name="acctgTrans"/> + <store-value value-field="acctgTrans"/> <set field="warningMessage[]" value="The accounting transaction [${acctgTrans.acctgTransId}] has been posted to the Error Journal [${partyAcctgPreference.errorGlJournalId}]."/> <field-to-result field="warningMessage" result-name="successMessageList"/> <return/> @@ -422,7 +422,7 @@ </if-compare> </else> </if-compare> - <store-value value-name="glAccountHistory"/> + <store-value value-field="glAccountHistory"/> </iterate> </iterate> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml Wed Dec 31 02:40:29 2008 @@ -41,7 +41,7 @@ <set-pk-fields map="parameters" value-field="lookupPKMap"/> <find-by-primary-key entity-name="BillingAccount" map="lookupPKMap" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="createBillingAccountRole" short-description="Create Billing Account Role"> <make-value value-field="newEntity" entity-name="BillingAccountRole"/> @@ -58,7 +58,7 @@ <set-pk-fields map="parameters" value-field="lookupPKMap"/> <find-by-primary-key entity-name="BillingAccountRole" map="lookupPKMap" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeBillingAccountRole" short-description="Remove Billing Account Role"> <make-value value-field="lookupPKMap" entity-name="BillingAccountRole"/> @@ -82,7 +82,7 @@ <set-pk-fields map="parameters" value-field="lookupPKMap"/> <find-by-primary-key entity-name="BillingAccountTerm" map="lookupPKMap" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeBillingAccountTerm" short-description="Remove Billing Account Term"> <make-value entity-name="BillingAccountTerm" value-field="lookupPKMap"/> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml Wed Dec 31 02:40:29 2008 @@ -39,10 +39,10 @@ <if-not-empty field="badOrders"> <string-to-field string="mail.smtp.host" field-name="sendType" map-name="emailParams" /> - <property-to-field resource="payment" property="mailhost" field-name="sendVia" map-name="emailParams"/> - <property-to-field resource="payment" property="sendTo" field-name="sendTo" map-name="emailParams"/> - <property-to-field resource="payment" property="sendFrom" field-name="sendFrom" map-name="emailParams"/> - <property-to-field resource="payment" property="subject" field-name="subject" map-name="emailParams"/> + <property-to-field resource="payment" property="mailhost" field="sendVia" map-name="emailParams"/> + <property-to-field resource="payment" property="sendTo" field="sendTo" map-name="emailParams"/> + <property-to-field resource="payment" property="sendFrom" field="sendFrom" map-name="emailParams"/> + <property-to-field resource="payment" property="subject" field="subject" map-name="emailParams"/> <call-bsh><![CDATA[ String body = "Bad orders: " + org.ofbiz.base.util.StringUtils.join(badOrders, ", "); emailParams.put("body", body); Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml Wed Dec 31 02:40:29 2008 @@ -115,7 +115,7 @@ </if-compare-field> <set field="payment.paymentMethodTypeId" from-field="paymentMethod.paymentMethodTypeId"/> </if-not-empty> - <store-value value-name="payment"/> + <store-value value-field="payment"/> <if-not-empty field="parameters.statusId"> <if-compare-field field="parameters.statusId" to-field="statusIdSave" operator="not-equals"> @@ -212,7 +212,7 @@ <!-- everything ok so now change the status field --> <set from-field="parameters.statusId" field="payment.statusId"/> - <store-value value-name="payment"/> + <store-value value-field="payment"/> </else> </if-empty> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml Wed Dec 31 02:40:29 2008 @@ -28,7 +28,7 @@ <!-- set defaults --> <if-empty field="parameters.rateCurrencyUomId"> - <property-to-field resource="general.properties" property="currency.uom.id.default" field-name="parameters.rateCurrencyUomId"/> + <property-to-field resource="general.properties" property="currency.uom.id.default" field="parameters.rateCurrencyUomId"/> </if-empty> <if-empty field="parameters.periodTypeId"> <set field="parameters.periodTypeId" value="RATE_HOUR"/> @@ -77,7 +77,7 @@ <!-- set defaults --> <if-empty field="parameters.rateCurrencyUomId"> - <property-to-field resource="general.properties" property="currency.uom.id.default" field-name="parameters.rateCurrencyUomId"/> + <property-to-field resource="general.properties" property="currency.uom.id.default" field="parameters.rateCurrencyUomId"/> </if-empty> <if-empty field="parameters.periodTypeId"> <set field="parameters.periodTypeId" value="RATE_HOUR"/> @@ -120,7 +120,7 @@ Then will be checked if the requested periodTypeId and currency can be found, if not isue an error message --> <if-empty field="parameters.rateCurrencyUomId"> - <property-to-field resource="general.properties" property="currency.uom.id.default" field-name="parameters.rateCurrencyUomId"/> + <property-to-field resource="general.properties" property="currency.uom.id.default" field="parameters.rateCurrencyUomId"/> </if-empty> <if-empty field="parameters.periodTypeId"> <set field="parameters.periodTypeId" value="RATE_HOUR"/> @@ -363,7 +363,7 @@ <set-nonpk-fields value-field="posRate" map="rateAmount"/> <set field="rateAmount.workeffortId" value="_NA_"/> <set field="rateAmount.partyId" value="_NA_"/> - <property-to-field resource="general.properties" property="currency.uom.id.default" field-name="rateAmount.rateCurrencyUomId"/> + <property-to-field resource="general.properties" property="currency.uom.id.default" field="rateAmount.rateCurrencyUomId"/> <create-value value-field="rateAmount"/> </iterate> <entity-condition entity-name="OldPartyRate" list="partyRates"/> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml Wed Dec 31 02:40:29 2008 @@ -39,7 +39,7 @@ <entity-one entity-name="TaxAuthority" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteTaxAuthority" short-description="delete a TaxAuthority"> <set value="_DELETE" field="securityAction"/> @@ -69,7 +69,7 @@ <entity-one entity-name="TaxAuthorityAssoc" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteTaxAuthorityAssoc" short-description="delete a TaxAuthorityAssoc"> <set value="_DELETE" field="securityAction"/> @@ -98,7 +98,7 @@ <entity-one entity-name="TaxAuthorityCategory" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteTaxAuthorityCategory" short-description="delete a TaxAuthorityCategory"> <set value="_DELETE" field="securityAction"/> @@ -139,7 +139,7 @@ <entity-one entity-name="TaxAuthorityGlAccount" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteTaxAuthorityGlAccount" short-description="delete a TaxAuthorityGlAccount"> <set value="_DELETE" field="securityAction"/> @@ -170,7 +170,7 @@ <entity-one entity-name="TaxAuthorityRateProduct" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteTaxAuthorityRateProduct" short-description="delete a TaxAuthorityRateProduct"> <set value="_DELETE" field="securityAction"/> @@ -210,7 +210,7 @@ <entity-one entity-name="PartyTaxAuthInfo" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="validatePartyTaxIdInline" short-description="validatePartyTaxIdInline"> <!-- validate the partyTaxId based on TaxAuthority.taxIdFormatPattern if not empty --> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml Wed Dec 31 02:40:29 2008 @@ -980,7 +980,7 @@ <set field="pubPtContentId" from-field="parameters.pubPtContentId"/> <call-object-method method-name="length" obj-field-name="parameters.textData" ret-field="textDataLen"/> <log level="info" message="textDataLen:${textDataLen}"/> - <property-to-field resource="forum" property="descriptLen" field-name="descriptLen" /> + <property-to-field resource="forum" property="descriptLen" field="descriptLen" /> <log level="info" message="descriptLen:${descriptLen}"/> <set field="dblTextDataLen" from-field="textDataLen" type="Double"/> <set field="dblDescriptLen" from-field="descriptLen" type="Double"/> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml Wed Dec 31 02:40:29 2008 @@ -67,7 +67,7 @@ <set field="lookedUpValue.lastModifiedByUserLogin" from-field="userLogin.userLoginId"/> <set field="lookedUpValue.lastModifiedDate" from-field="nowTimestamp"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> <field-to-result field="dataResourceId" map-name="lookedUpValue"/> </simple-method> @@ -92,7 +92,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="DataCategory" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteDataCategory" short-description="Delete a Data Category"> <make-value entity-name="DataCategory" value-field="lookupKeyValue"/> @@ -119,7 +119,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="DataResourceMetaData" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeDataResourceMetaData" short-description="Remove Data Resource Meta Data"> <check-permission permission="CONTENTMGR" action="_DELETE"><fail-message message="Security Error: to run removeDataResourceMetaData you must have the CONTENTMGR_DELETE or CONTENTMGR_ADMIN permission"/></check-permission> @@ -149,7 +149,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="DataResourcePurpose" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeDataResourcePurpose" short-description="Remove Data Resource Purpose"> <check-permission permission="CONTENTMGR" action="_DELETE"><fail-message message="Security Error: to run removeDataResourcePurpose you must have the CONTENTMGR_DELETE or CONTENTMGR_ADMIN permission"/></check-permission> @@ -179,7 +179,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="DataResourceRole" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeDataResourceRole" short-description="Remove Data Resource Role"> <make-value entity-name="DataResourceRole" value-field="lookupKeyValue"/> @@ -201,7 +201,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="DataCategory" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeDataCategory" short-description="Remove Data DateCategory"> <make-value entity-name="DataCategory" value-field="lookupKeyValue"/> @@ -223,7 +223,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="DataResourceType" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeDataResourceType" short-description="Remove Data Resource Type"> <make-value entity-name="DataResourceType" value-field="lookupKeyValue"/> @@ -244,7 +244,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="DataResourceAttribute" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeDataResourceAttribute" short-description="Remove Data Resource Attribute"> <make-value entity-name="DataResourceAttribute" value-field="lookupKeyValue"/> @@ -265,7 +265,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="DataResourceTypeAttr" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeDataResourceTypeAttr" short-description="Remove Data Resource Type Attribute"> <make-value entity-name="DataResourceTypeAttr" value-field="lookupKeyValue"/> @@ -287,7 +287,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="CharacterSet" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeCharacterSet" short-description="Remove Character Set"> <make-value entity-name="CharacterSet" value-field="lookupKeyValue"/> @@ -309,7 +309,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="FileExtension" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeFileExtension" short-description="Remove Data Resource Role"> <make-value entity-name="FileExtension" value-field="lookupKeyValue"/> @@ -331,7 +331,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="MetaDataPredicate" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeMetaDataPredicate" short-description="Remove Data Resource Role"> <make-value entity-name="MetaDataPredicate" value-field="lookupKeyValue"/> @@ -353,7 +353,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="MimeType" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeMimeType" short-description="Remove MimeType"> <make-value entity-name="MimeType" value-field="lookupKeyValue"/> @@ -374,7 +374,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="MimeTypeHtmlTemplate" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeMimeTypeHtmlTemplate" short-description="Remove MimeTypeHtmlTemplate"> <make-value entity-name="MimeTypeHtmlTemplate" value-field="lookupKeyValue"/> @@ -399,7 +399,7 @@ <find-by-primary-key entity-name="ElectronicText" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> <field-to-result field="dataResourceId" map-name="lookedUpValue"/> </simple-method> <simple-method method-name="removeElectronicText" short-description="Remove Electronic Text"> @@ -422,7 +422,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="ImageDataResource" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeImageDataResource" short-description="Remove Image Data Resource"> <make-value entity-name="ImageDataResource" value-field="lookupKeyValue"/> @@ -443,7 +443,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="VideoDataResource" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeVideoDataResource" short-description="Remove Video Data Resource"> <make-value entity-name="VideoDataResource" value-field="lookupKeyValue"/> @@ -464,7 +464,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="AudioDataResource" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeAudioDataResource" short-description="Remove Audio Data Resource"> <make-value entity-name="AudioDataResource" value-field="lookupKeyValue"/> @@ -486,7 +486,7 @@ <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="OtherDataResource" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeOtherDataResource" short-description="Remove Other Data Resource"> <make-value entity-name="OtherDataResource" value-field="lookupKeyValue"/> @@ -546,7 +546,7 @@ <simple-method method-name="attachUploadToDataResource" short-description="Attach an uploaded file to a data resource"> <set field="isUpdate" value="false"/> - <property-to-field resource="content.properties" property="content.upload.always.local.file" field-name="forceLocal"/> + <property-to-field resource="content.properties" property="content.upload.always.local.file" field="forceLocal"/> <if-compare field="forceLocal" value="true" operator="equals"> <set field="parameters.dataResourceTypeId" value="LOCAL_FILE"/> </if-compare> @@ -696,7 +696,7 @@ <set value="${uploadPath}/${dataResource.dataResourceId}.${extension.fileExtensionId}" field="dataResource.objectInfo"/> </if-not-empty> <set value="LOCAL_FILE" field="dataResource.dataResourceTypeId"/> - <store-value value-name="dataResource"/> + <store-value value-field="dataResource"/> <set-service-fields service-name="createAnonFile" map="dataResource" to-map="fileCtx"/> <set from-field="parameters.uploadedFile" field="fileCtx.binData"/> @@ -746,7 +746,7 @@ <set from-field="parameters.dataResourceTypeId" field="dataResource.dataResourceTypeId"/> <set from-field="parameters._uploadedFile_fileName" field="dataResource.dataResourceName"/> <set from-field="parameters._uploadedFile_contentType" field="dataResource.mimeTypeId"/> - <store-value value-name="dataResource"/> + <store-value value-field="dataResource"/> <!-- fields serviceName and fileField are required to be set by calling method --> <set-service-fields service-name="createOtherDataResource" map="dataResource" to-map="serviceContext"/> @@ -802,7 +802,7 @@ <set from-field="parameters.dataResourceTypeId" field="dataResource.dataResourceTypeId"/> <set from-field="parameters._uploadedFile_fileName" field="dataResource.dataResourceName"/> <set from-field="parameters._uploadedFile_contentType" field="dataResource.mimeTypeId"/> - <store-value value-name="dataResource"/> + <store-value value-field="dataResource"/> <!-- fields serviceName and fileField are required to be set by calling method --> <set-service-fields service-name="createImageDataResource" map="dataResource" to-map="serviceContext"/> @@ -858,7 +858,7 @@ <set from-field="parameters.dataResourceTypeId" field="dataResource.dataResourceTypeId"/> <set from-field="parameters._uploadedFile_fileName" field="dataResource.dataResourceName"/> <set from-field="parameters._uploadedFile_contentType" field="dataResource.mimeTypeId"/> - <store-value value-name="dataResource"/> + <store-value value-field="dataResource"/> <!-- fields serviceName and fileField are required to be set by calling method --> <set-service-fields service-name="createVideoDataResource" map="dataResource" to-map="serviceContext"/> @@ -914,7 +914,7 @@ <set from-field="parameters.dataResourceTypeId" field="dataResource.dataResourceTypeId"/> <set from-field="parameters._uploadedFile_fileName" field="dataResource.dataResourceName"/> <set from-field="parameters._uploadedFile_contentType" field="dataResource.mimeTypeId"/> - <store-value value-name="dataResource"/> + <store-value value-field="dataResource"/> <!-- fields serviceName and fileField are required to be set by calling method --> <set-service-fields service-name="createAudioDataResource" map="dataResource" to-map="serviceContext"/> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml Wed Dec 31 02:40:29 2008 @@ -32,14 +32,14 @@ <simple-method method-name="updateWebSite" short-description="Update a WebSite"> <entity-one entity-name="WebSite" value-field="webSite"/> <set-nonpk-fields map="parameters" value-field="webSite"/> - <store-value value-name="webSite"/> + <store-value value-field="webSite"/> </simple-method> <simple-method method-name="removeWebSite" short-description="Remove a WebSite"> <make-value value-field="lookupKeyValue" entity-name="WebSite"/> <set-pk-fields map="parameters" value-field="lookupKeyValue"/> <find-by-primary-key entity-name="WebSite" map="lookupKeyValue" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <!-- WebSite Content --> @@ -58,7 +58,7 @@ <set-pk-fields map="parameters" value-field="lookupPKMap"/> <find-by-primary-key entity-name="WebSiteContent" map="lookupPKMap" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeWebSiteContent" short-description="Remove WebSite Content"> <make-value value-field="lookupPKMap" entity-name="WebSiteContent"/> @@ -83,7 +83,7 @@ <set-pk-fields map="parameters" value-field="lookupPKMap"/> <find-by-primary-key entity-name="WebSiteContentType" map="lookupPKMap" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeWebSiteContentType" short-description="Remove WebSite Content Type"> <make-value value-field="lookupPKMap" entity-name="WebSiteContentType"/> @@ -104,7 +104,7 @@ <set-pk-fields map="parameters" value-field="lookupPKMap"/> <find-by-primary-key entity-name="WebSitePathAlias" map="lookupPKMap" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeWebSitePathAlias" short-description="Remove WebSite Path Alias"> <make-value value-field="lookupPKMap" entity-name="WebSitePathAlias"/> @@ -137,7 +137,7 @@ <set-pk-fields map="parameters" value-field="lookupPKMap"/> <find-by-primary-key entity-name="WebSiteRole" map="lookupPKMap" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeWebSiteRole" short-description="Remove WebSite Role"> <make-value value-field="lookupPKMap" entity-name="WebSiteRole"/> 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=730369&r1=730368&r2=730369&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 Wed Dec 31 02:40:29 2008 @@ -35,8 +35,8 @@ <set field="defaultPassword" value="ungssblepswd"/> </if-empty> - <property-to-field resource="security" property="username.lowercase" default="false" field-name="username_lowercase"/> - <property-to-field resource="security" property="password.lowercase" default="false" field-name="password_lowercase"/> + <property-to-field resource="security" property="username.lowercase" default="false" field="username_lowercase"/> + <property-to-field resource="security" property="password.lowercase" default="false" field="password_lowercase"/> <now-timestamp field="nowStamp"/> <set value="CUSTOMER" field="parameters.roleTypeId"/> @@ -156,13 +156,13 @@ </call-map-processor> <if-compare value="USA" operator="equals" field="parameters.CUSTOMER_COUNTRY"> <if-empty field="parameters.CUSTOMER_STATE"> - <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> + <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list-name="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-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> + <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list-name="error_list"/> </if-empty> </if-compare> @@ -741,13 +741,13 @@ </call-map-processor> <if-compare value="USA" operator="equals" field="parameters.countryGeoId"> <if-empty field="parameters.stateProvinceGeoId"> - <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> + <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list-name="error_list"/> </if-empty> </if-compare> <if-compare value="CAN" operator="equals" field="parameters.countryGeoId"> <if-empty field="parameters.stateProvinceGeoId"> - <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> + <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> <string-to-list string="${tempErrorMessage}" message-field-name="CUSTOMER_STATE" list-name="error_list"/> </if-empty> </if-compare> Modified: ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml (original) +++ ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml Wed Dec 31 02:40:29 2008 @@ -27,8 +27,8 @@ <simple-method method-name="createUpdateUser" short-description="Create or Update User" login-required="false"> - <property-to-field resource="security" property="username.lowercase" default="false" field-name="username_lowercase"/> - <property-to-field resource="security" property="password.lowercase" default="false" field-name="password_lowercase"/> + <property-to-field resource="security" property="username.lowercase" default="false" field="username_lowercase"/> + <property-to-field resource="security" property="password.lowercase" default="false" field="password_lowercase"/> <set field="default_user_password" value="ungssblepsswd" /> <now-timestamp field="nowStamp"/> @@ -233,13 +233,13 @@ </call-map-processor> <if-compare value="USA" operator="equals" field="parameters.shipToCountryGeoId"> <if-empty field="parameters.shipToStateProvinceGeoId"> - <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> + <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> <field-to-list field="tempErrorMessage" list="error_list"/> </if-empty> </if-compare> <if-compare value="CAN" operator="equals" field="parameters.shipToCountryGeoId"> <if-empty field="parameters.shipToStateProvinceGeoId"> - <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> + <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> <field-to-list field="tempErrorMessage" list="error_list"/> </if-empty> </if-compare> @@ -267,13 +267,13 @@ </call-map-processor> <if-compare value="USA" operator="equals" field="parameters.billToCountryGeoId"> <if-empty field="parameters.billToStateProvinceGeoId"> - <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> + <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInUsMissing"/> <field-to-list field="tempErrorMessage" list="error_list"/> </if-empty> </if-compare> <if-compare value="CAN" operator="equals" field="parameters.billToCountryGeoId"> <if-empty field="parameters.billToStateProvinceGeoId"> - <property-to-field field-name="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> + <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyStateInCanadaMissing"/> <field-to-list field="tempErrorMessage" list="error_list"/> </if-empty> </if-compare> Modified: ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml (original) +++ ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml Wed Dec 31 02:40:29 2008 @@ -40,7 +40,7 @@ <simple-method method-name="updatePartyQual" short-description="Update Qualification of a Party"> <entity-one entity-name="PartyQual" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePartyQual" short-description="Delete Qualification of a Party"> @@ -59,7 +59,7 @@ <simple-method method-name="updatePartyResume" short-description="Update a Resume of a Party"> <entity-one entity-name="PartyResume" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePartyResume" short-description="Delete a Resume of a Party"> @@ -94,7 +94,7 @@ <simple-method method-name="updatePartySkill" short-description="Update Party Skills"> <entity-one entity-name="PartySkill" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePartySkill" short-description="Delete a Skill of Party"> @@ -114,7 +114,7 @@ <simple-method method-name="updatePerfReview" short-description="Update Performance Review"> <entity-one entity-name="PerfReview" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePerfReview" short-description="Delete Performance Review"> @@ -134,7 +134,7 @@ <simple-method method-name="updatePerfReviewItem" short-description="Update Performance Review Items"> <entity-one entity-name="PerfReviewItem" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePerfReviewItem" short-description="Delete Performance Review Items"> @@ -156,7 +156,7 @@ <simple-method method-name="updatePerformanceNote" short-description="Update Performance Note"> <entity-one entity-name="PerformanceNote" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePerformanceNote" short-description="Delete Performance Note"> @@ -178,7 +178,7 @@ <simple-method method-name="updatePersonTraining" short-description="Update a Person Training"> <entity-one entity-name="PersonTraining" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePersonTraining" short-description="Delete a Person Training"> @@ -204,7 +204,7 @@ <simple-method method-name="updateEmployment" short-description="Update Employment"> <entity-one entity-name="Employment" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteEmployment" short-description="Delete Employment"> @@ -223,7 +223,7 @@ <simple-method method-name="updateEmploymentApp" short-description="Update EmploymentApp"> <entity-one entity-name="EmploymentApp" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteEmploymentApp" short-description="Delete EmploymentApp"> @@ -245,14 +245,14 @@ <simple-method method-name="updatePartyBenefit" short-description="Update Party Benefit"> <entity-one entity-name="PartyBenefit" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePartyBenefit" short-description="Delete Party Benefit"> <now-timestamp field="nowTimeStamp"/> <entity-one entity-name="PartyBenefit" value-field="lookedUpValue"/> <set field="lookedUpValue.thruDate" from-field="nowTimeStamp"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> <remove-value value-field="lookedUpValue"/> </simple-method> @@ -272,7 +272,7 @@ <simple-method method-name="updatePayGrade" short-description="Update Pay Grade"> <entity-one entity-name="PayGrade" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePayGrade" short-description="Delete Pay Grade"> @@ -294,14 +294,14 @@ <simple-method method-name="updatePayHistory" short-description="Update Pay History"> <entity-one entity-name="PayHistory" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePayHistory" short-description="Delete Pay History"> <now-timestamp field="nowTimeStamp"/> <entity-one entity-name="PayHistory" value-field="lookedUpValue"/> <set field="lookedUpValue.thruDate" from-field="nowTimeStamp"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> <remove-value value-field="lookedUpValue"/> </simple-method> @@ -317,7 +317,7 @@ <simple-method method-name="updatePayrollPreference" short-description="Update Payroll Preference"> <entity-one entity-name="PayrollPreference" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deletePayrollPreference" short-description="Delete Payroll Preference"> @@ -337,7 +337,7 @@ <simple-method method-name="updateSalaryStep" short-description="Update Salary Step"> <entity-one entity-name="SalaryStep" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteSalaryStep" short-description="Delete Salary Step"> @@ -356,7 +356,7 @@ <simple-method method-name="updateTerminationReason" short-description="Update Termination Reason"> <entity-one entity-name="TerminationReason" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteTerminationReason" short-description="Delete Termination Reason"> @@ -375,14 +375,14 @@ <simple-method method-name="updateUnemploymentClaim" short-description="Update Unemployment Claim"> <entity-one entity-name="UnemploymentClaim" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteUnemploymentClaim" short-description="Delete Unemployment Claim"> <now-timestamp field="nowTimeStamp"/> <entity-one entity-name="UnemploymentClaim" value-field="lookedUpValue"/> <set field="lookedUpValue.thruDate" from-field="nowTimeStamp"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <!-- Employee Position Group --> @@ -397,7 +397,7 @@ <simple-method method-name="updateEmplPosition" short-description="Update Employee Position"> <entity-one entity-name="EmplPosition" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteEmplPosition" short-description="Delete Employee Position"> @@ -419,7 +419,7 @@ <simple-method method-name="updateEmplPositionFulfillment" short-description="Update Employee Position Fulfillment"> <entity-one entity-name="EmplPositionFulfillment" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteEmplPositionFulfillment" short-description="Delete Employee Position Fulfillment"> @@ -454,7 +454,7 @@ <simple-method method-name="updateEmplPositionReportingStruct" short-description="Update Employee Position Reporting Structure"> <entity-one entity-name="EmplPositionReportingStruct" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteEmplPositionReportingStruct" short-description="Delete Employee Position Reporting Structure"> @@ -476,7 +476,7 @@ <simple-method method-name="updateEmplPositionResponsibility" short-description="Update Employee Position Responsibility"> <entity-one entity-name="EmplPositionResponsibility" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteEmplPositionResponsibility" short-description="Delete Employee Position Responsibility"> @@ -498,7 +498,7 @@ <simple-method method-name="updateValidResponsibility" short-description="Update Valid Responsibility"> <entity-one entity-name="ValidResponsibility" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteValidResponsibility" short-description="Delete Valid Responsibility"> @@ -517,7 +517,7 @@ <simple-method method-name="updateSkillType" short-description="Update SkillType"> <entity-one entity-name="SkillType" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteSkillType" short-description="Delete SkillType"> @@ -560,7 +560,7 @@ <simple-method method-name="updateResponsibilityType" short-description="Update ResponsibilityType"> <entity-one entity-name="ResponsibilityType" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteResponsibilityType" short-description="Delete ResponsibilityType"> @@ -581,7 +581,7 @@ <simple-method method-name="updateTerminationType" short-description="Update TerminationType"> <entity-one entity-name="TerminationType" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteTerminationType" short-description="Delete TerminationType"> @@ -602,7 +602,7 @@ <simple-method method-name="updateEmplPositionType" short-description="Update PositionType"> <entity-one entity-name="EmplPositionType" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="updateEmplPositionTypeRate" short-description="Update/create EmplPositionTypeRate"> @@ -615,7 +615,7 @@ <if-not-empty field="emplPositionTypeRates"> <first-from-list entry="emplPositionTypeRate" list="emplPositionTypeRates"/> <now-timestamp field="emplPositionTypeRate.thruDate"/> - <store-value value-name="emplPositionTypeRate"/> + <store-value value-field="emplPositionTypeRate"/> </if-not-empty> <make-value value-field="newEntity" entity-name="EmplPositionTypeRate"/> @@ -633,7 +633,7 @@ <simple-method method-name="deleteEmplPositionTypeRate" short-description="Delete EmplPositionTypeRate"> <entity-one entity-name="EmplPositionTypeRate" value-field="lookedUpValue"/> <now-timestamp field="lookedUpValue.thruDate"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> <set-service-fields service-name="deleteRateAmount" map="parameters" to-map="delRateAmount"/> <set field="delRateAmount.fromDate" from-field="parameters.rateAmountFromDate"/> @@ -651,7 +651,7 @@ <simple-method method-name="updateAgreementEmploymentAppl" short-description="update an Agreement Employment Appl"> <entity-one entity-name="AgreementEmploymentAppl" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteAgreementEmploymentAppl" short-description="Delete Agreement Employment Appl"> @@ -669,7 +669,7 @@ <simple-method method-name="updateEmplLeave" short-description="Update Employee Leave"> <entity-one entity-name="EmplLeave" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="createEmplLeaveType" short-description="Create a LeaveType"> @@ -686,7 +686,7 @@ <simple-method method-name="updateEmplLeaveType" short-description="Update leaveType"> <entity-one entity-name="EmplLeaveType" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteEmplLeaveType" short-description="Delete leaveType"> Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml (original) +++ ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml Wed Dec 31 02:40:29 2008 @@ -44,7 +44,7 @@ <find-by-primary-key entity-name="MarketingCampaign" map="lookupPKMap" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteMarketingCampaign" short-description="Delete an MarketingCampaign"> <check-permission permission="MARKETING" action="_DELETE"><fail-message message="Security Error: to run deleteMarketingCampaign you must have the MARKETING_DELETE or MARKETING_ADMIN permission"/></check-permission> @@ -159,7 +159,7 @@ <entity-one entity-name="MarketingCampaignRole" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteMarketingCampaignRole" short-description="Remove Role from MarketingCampaign"> <check-permission permission="MARKETING" action="_DELETE"><fail-message message="Security Error: to run deleteMarketingCampaignRole you must have the MARKETING_DELETE or MARKETING_ADMIN permission"/></check-permission> Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml (original) +++ ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml Wed Dec 31 02:40:29 2008 @@ -42,7 +42,7 @@ <entity-one entity-name="ContactList" value-field="lookedUpValue" auto-field-map="true"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeContactList" short-description="Delete an ContactList"> <check-permission permission="MARKETING" action="_DELETE"><fail-message message="Security Error: to run deleteContactList you must have the MARKETING_DELETE or MARKETING_ADMIN permission"/></check-permission> @@ -140,7 +140,7 @@ </if-compare-field> </if-not-empty> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="updatePartyEmailContactListParty" short-description="Update ContactList Party Contact Mech"> <set field="lookupMap.preferredContactMechId" from-field="parameters.oldContactMechId"/> @@ -148,7 +148,7 @@ <iterate entry="contactlistparty" list="ContactListParties"> <set field="contactlistparty.preferredContactMechId" from-field="parameters.contactMechId"/> <log level="info" message="Replacing preferredContactMechId: ${parameters.oldContactMechId} of the ContactList: ${contactlistparty.contactListId} with new preferredContactMechId: ${parameters.contactMechId}"/> - <store-value value-name="contactlistparty"/> + <store-value value-field="contactlistparty"/> </iterate> </simple-method> <simple-method method-name="deleteContactListParty" short-description="Remove Party from ContactList"> Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/segment/SegmentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/segment/SegmentServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/segment/SegmentServices.xml (original) +++ ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/segment/SegmentServices.xml Wed Dec 31 02:40:29 2008 @@ -43,7 +43,7 @@ <entity-one entity-name="SegmentGroup" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteSegmentGroup" short-description="deleteSegmentGroup"> <check-permission permission="MARKETING" action="_DELETE"> @@ -70,7 +70,7 @@ <check-errors/> <entity-one entity-name="SegmentGroupClassification" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteSegmentGroupClassification" short-description="delete a SegmentGroupClassification"> <check-permission permission="MARKETING" action="_DELETE"><fail-property resource="MarketingUiLabels" property="SegmentGroupRemoveSegmentGroupClassificationPermissionError"/></check-permission> @@ -93,7 +93,7 @@ <check-errors/> <entity-one entity-name="SegmentGroupGeo" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteSegmentGroupGeo" short-description="delete a SegmentGroupGeo"> <check-permission permission="MARKETING" action="_DELETE"><fail-property resource="MarketingUiLabels" property="SegmentGroupRemoveSegmentGroupGeoPermissionError"/></check-permission> @@ -116,7 +116,7 @@ <check-errors/> <entity-one entity-name="SegmentGroupRole" value-field="lookedUpValue"/> <set-pk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteSegmentGroupRole" short-description="delete a SegmentGroupRole"> <check-permission permission="MARKETING" action="_DELETE"><fail-property resource="MarketingUiLabels" property="SegmentGroupRemoveSegmentGroupRolePermissionError"/></check-permission> Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml (original) +++ ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml Wed Dec 31 02:40:29 2008 @@ -35,6 +35,6 @@ <simple-method method-name="updateOpportunity" short-description="Update an opportunity"> <entity-one entity-name="SalesOpportunity" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> </simple-methods> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.xml?rev=730369&r1=730368&r2=730369&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.xml Wed Dec 31 02:40:29 2008 @@ -56,7 +56,7 @@ <set-nonpk-fields map="parameters" value-field="salesForecast"/> <!-- store the value --> - <store-value value-name="salesForecast"/> + <store-value value-field="salesForecast"/> <!-- save a copy to history --> <call-simple-method method-name="saveSalesForecastHistory"/> @@ -94,7 +94,7 @@ <simple-method method-name="updateSalesForecastDetail" short-description="Updates a sales forecast detail"> <entity-one entity-name="SalesForecastDetail" value-field="lookedUpValue"/> <set-nonpk-fields value-field="lookedUpValue" map="parameters"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteSalesForecastDetail" short-description="Delete a Sales Forecast Detail"> <entity-one entity-name="SalesForecastDetail" value-field="lookedUpValue"/> 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=730369&r1=730368&r2=730369&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 Wed Dec 31 02:40:29 2008 @@ -247,7 +247,7 @@ <field-to-result field="returnHeader.statusId" result-name="currentStatusId"/> <set-nonpk-fields map="parameters" value-field="returnHeader"/> - <store-value value-name="returnHeader"/> + <store-value value-field="returnHeader"/> </simple-method> <simple-method method-name="createReturnItem" short-description="Create Return Item"> @@ -439,7 +439,7 @@ <field-to-result field="returnItem.statusId" result-name="currentStatusId"/> <set-nonpk-fields map="parameters" value-field="returnItem"/> - <store-value value-name="returnItem"/> + <store-value value-field="returnItem"/> <refresh-value value-name="returnItem"/> <!-- now update all return adjustments associated with this return item --> @@ -559,7 +559,7 @@ <if-compare-field field="totalsMap.${receipt.returnItemSeqId}" to-field="returnItem.returnQuantity" operator="greater-equals" type="Double"> <!-- update the status for the item --> <set field="returnItem.statusId" value="RETURN_RECEIVED"/> - <store-value value-name="returnItem"/> + <store-value value-field="returnItem"/> <!-- create status change history --> <!-- TODO: this should be done with a createReturnStatus service call --> @@ -576,7 +576,7 @@ </if-compare-field> <!-- update the returnItem with at least receivedQuantity, and also statusId if applicable --> - <store-value value-name="returnItem"/> + <store-value value-field="returnItem"/> </iterate> <!-- check to see if all items have been received --> 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=730369&r1=730368&r2=730369&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 Wed Dec 31 02:40:29 2008 @@ -108,7 +108,7 @@ <entity-one entity-name="OrderShipment" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="deleteOrderShipment" short-description="Delete OrderShipment"> <set value="Delete OrderShipment" field="operationName"/> @@ -490,7 +490,7 @@ <calculate field="partyAcctgPreference.lastOrderNumber" type="Long"><number value="1"/></calculate> </else> </if-not-empty> - <store-value value-name="partyAcctgPreference"/> + <store-value value-field="partyAcctgPreference"/> <set from-field="partyAcctgPreference.lastOrderNumber" field="orderIdTemp"/> </then> <else> @@ -549,7 +549,7 @@ </if-empty> <check-errors/> <set-nonpk-fields value-field="orderHeader" map="parameters"/> - <store-value value-name="orderHeader"/> + <store-value value-field="orderHeader"/> </simple-method> <simple-method method-name="recreateOrderAdjustments" short-description="Auto create OrderAdjustments"> @@ -712,7 +712,7 @@ <set-service-fields service-name="removeOrderContactMech" map="orderContactMechLookupMap" to-map="removeOrderContactMechMap"/> <call-service service-name="removeOrderContactMech" in-map-name="removeOrderContactMechMap" include-user-login="true"/> </if-empty> - <store-value value-name="orderContactMechMap"/> + <store-value value-field="orderContactMechMap"/> </else> </if-compare> </simple-method> @@ -747,7 +747,7 @@ <set-service-fields service-name="createOrderContactMech" map="parameters" to-map="createOrderContactMechMap"/> <call-service service-name="createOrderContactMech" in-map-name="createOrderContactMechMap" include-user-login="true"/> </if-empty> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> <!-- Remove the old values from OrderContactMech entity with the help of oldContactMechId --> <set from-field="parameters.orderId" field="shipGroupLookupMap.orderId"/> <set from-field="parameters.oldContactMechId" field="shipGroupLookupMap.contactMechId"/> @@ -801,7 +801,7 @@ <check-errors/> <entity-one entity-name="OrderHeaderNote" value-field="orderHeaderNote"/> <set-nonpk-fields value-field="orderHeaderNote" map="parameters"/> - <store-value value-name="orderHeaderNote"/> + <store-value value-field="orderHeaderNote"/> </simple-method> <simple-method method-name="createOrderTerm" short-description="Create an OrderTerm"> @@ -825,7 +825,7 @@ <entity-one entity-name="OrderTerm" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-name="lookedUpValue"/> + <store-value value-field="lookedUpValue"/> </simple-method> <simple-method method-name="removeOrderTerm" short-description="Remove OrderTerm"> <check-permission permission="ORDERMGR" action="_DELETE"> |
Free forum by Nabble | Edit this page |