ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bibr...@apache.org
Subject svn commit: r917467 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java
Date Mon, 01 Mar 2010 11:16:25 GMT
Author: bibryam
Date: Mon Mar  1 11:16:25 2010
New Revision: 917467

URL: http://svn.apache.org/viewvc?rev=917467&view=rev
Log:
Don't return the default message "The action was performed successfully" when call-service
element is used.

Modified:
    ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java

Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java?rev=917467&r1=917466&r2=917467&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java
(original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java
Mon Mar  1 11:16:25 2010
@@ -124,7 +124,7 @@
         successSuffix = new FlexibleMessage(UtilXml.firstChildElement(element, "success-suffix"),
"service.success.suffix");
         messagePrefix = new FlexibleMessage(UtilXml.firstChildElement(element, "message-prefix"),
"service.message.prefix");
         messageSuffix = new FlexibleMessage(UtilXml.firstChildElement(element, "message-suffix"),
"service.message.suffix");
-        defaultMessage = new FlexibleMessage(UtilXml.firstChildElement(element, "default-message"),
"service.default.message");
+        defaultMessage = new FlexibleMessage(UtilXml.firstChildElement(element, "default-message"),
null);//"service.default.message"
 
         List<? extends Element> resultsToMapElements = UtilXml.childElementList(element,
"results-to-map");
         if (UtilValidate.isNotEmpty(resultsToMapElements)) {



Mime
View raw message