svn commit: r1806273 - in /ofbiz/ofbiz-framework/trunk: applications/party/src/main/java/org/apache/ofbiz/party/communication/ framework/common/config/ framework/common/src/main/java/org/apache/ofbiz/common/

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

svn commit: r1806273 - in /ofbiz/ofbiz-framework/trunk: applications/party/src/main/java/org/apache/ofbiz/party/communication/ framework/common/config/ framework/common/src/main/java/org/apache/ofbiz/common/

Deepak Dixit-5
Author: deepak
Date: Sat Aug 26 08:30:02 2017
New Revision: 1806273

URL: http://svn.apache.org/viewvc?rev=1806273&view=rev
Log:
Fixed: Updated images component reference path, as we removed images component and now these files are part of common-theme componnet.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/communication/CommunicationEventServices.java
    ofbiz/ofbiz-framework/trunk/framework/common/config/qrcode.properties
    ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java

Modified: ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/communication/CommunicationEventServices.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/communication/CommunicationEventServices.java?rev=1806273&r1=1806272&r2=1806273&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/communication/CommunicationEventServices.java (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/communication/CommunicationEventServices.java Sat Aug 26 08:30:02 2017
@@ -1352,7 +1352,7 @@ public class CommunicationEventServices
         // return the 1px image (spacer.gif)
         URL imageUrl;
         try {
-            imageUrl = FlexibleLocation.resolveLocation("component://images/webapp/images/spacer.gif");
+            imageUrl = FlexibleLocation.resolveLocation("component://common-theme/webapp/images/spacer.gif");
             InputStream imageStream = imageUrl.openStream();
             UtilHttp.streamContentToBrowser(response, imageStream, 43, "image/gif", null);
         } catch (MalformedURLException e) {

Modified: ofbiz/ofbiz-framework/trunk/framework/common/config/qrcode.properties
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/config/qrcode.properties?rev=1806273&r1=1806272&r2=1806273&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/common/config/qrcode.properties (original)
+++ ofbiz/ofbiz-framework/trunk/framework/common/config/qrcode.properties Sat Aug 26 08:30:02 2017
@@ -26,4 +26,4 @@ qrcode.default.format=png
 qrcode.formats.supported=jpg|png|bmp
 
 # default logo image to put in the center of a QRCode
-qrcode.default.logoimage=component://images/webapp/images/ofbiz.png
+qrcode.default.logoimage=component://common-theme/webapp/images/ofbiz.png

Modified: ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java?rev=1806273&r1=1806272&r2=1806273&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java Sat Aug 26 08:30:02 2017
@@ -54,7 +54,7 @@ public class JsLanguageFileMappingCreato
         Map<String, String> dateTimePickerLocaleFile = new LinkedHashMap<String, String>();
 
         // setup some variables to locate the js files
-        String componentRoot = "component://images/webapp";
+        String componentRoot = "component://common-theme/webapp";
         String jqueryUiLocaleRelPath = "/images/jquery/ui/i18n/";
         String dateJsLocaleRelPath = "/images/jquery/plugins/datejs/";
         String validateRelPath = "/images/jquery/plugins/validate/localization/";