svn commit: r1806164 - /ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/ModelServiceReader.java

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

svn commit: r1806164 - /ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/ModelServiceReader.java

nmalin
Author: nmalin
Date: Fri Aug 25 12:29:22 2017
New Revision: 1806164

URL: http://svn.apache.org/viewvc?rev=1806164&view=rev
Log:
Fixed: Continue the common-theme upload (OFBIZ-9138 Create a common theme)
Forgot to add the visualTheme on automatic attribute forward to service context.
 Thanks to Aditya Sharma to raise it with the issue OFBIZ-9622

Modified:
    ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/ModelServiceReader.java

Modified: ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/ModelServiceReader.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/ModelServiceReader.java?rev=1806164&r1=1806163&r2=1806164&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/ModelServiceReader.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/ModelServiceReader.java Fri Aug 25 12:29:22 2017
@@ -620,6 +620,14 @@ public class ModelServiceReader implemen
         def.optional = true;
         def.internal = true;
         service.addParam(def);
+        // visualTheme
+        def = new ModelParam();
+        def.name = "visualTheme";
+        def.type = "org.apache.ofbiz.widget.renderer.VisualTheme";
+        def.mode = ModelService.IN_OUT_PARAM;
+        def.optional = true;
+        def.internal = true;
+        service.addParam(def);
     }
 
     private void createOverrideDefs(Element baseElement, ModelService service) {