Author: adrianc
Date: Wed Sep 10 09:18:37 2008 New Revision: 693881 URL: http://svn.apache.org/viewvc?rev=693881&view=rev Log: Fix problem with UI labels in Content Manager - reported on user ml. Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/content/UploadContentAndImage.java ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutEvents.java ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/content/UploadContentAndImage.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/content/UploadContentAndImage.java?rev=693881&r1=693880&r2=693881&view=diff ============================================================================== --- ofbiz/trunk/applications/content/src/org/ofbiz/content/content/UploadContentAndImage.java (original) +++ ofbiz/trunk/applications/content/src/org/ofbiz/content/content/UploadContentAndImage.java Wed Sep 10 09:18:37 2008 @@ -66,7 +66,7 @@ public class UploadContentAndImage { public static final String module = UploadContentAndImage.class.getName(); - public static final String err_resource = "ContentErrorUiLabel"; + public static final String err_resource = "ContentErrorUiLabels"; public UploadContentAndImage() {} Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java?rev=693881&r1=693880&r2=693881&view=diff ============================================================================== --- ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java (original) +++ ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java Wed Sep 10 09:18:37 2008 @@ -51,7 +51,7 @@ public class DataEvents { public static final String module = DataEvents.class.getName(); - public static final String err_resource = "ContentErrorUiLabel"; + public static final String err_resource = "ContentErrorUiLabels"; public static String uploadImage(HttpServletRequest request, HttpServletResponse response) { return DataResourceWorker.uploadAndStoreImage(request, "dataResourceId", "imageData"); Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java?rev=693881&r1=693880&r2=693881&view=diff ============================================================================== --- ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java (original) +++ ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java Wed Sep 10 09:18:37 2008 @@ -74,7 +74,7 @@ public class DataResourceWorker implements org.ofbiz.widget.DataResourceWorkerInterface { public static final String module = DataResourceWorker.class.getName(); - public static final String err_resource = "ContentErrorUiLabel"; + public static final String err_resource = "ContentErrorUiLabels"; /** * Traverses the DataCategory parent/child structure and put it in categoryNode. Returns non-null error string if there is an error. Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutEvents.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutEvents.java?rev=693881&r1=693880&r2=693881&view=diff ============================================================================== --- ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutEvents.java (original) +++ ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutEvents.java Wed Sep 10 09:18:37 2008 @@ -55,7 +55,7 @@ public class LayoutEvents { public static final String module = LayoutEvents.class.getName(); - public static final String err_resource = "ContentErrorUiLabel"; + public static final String err_resource = "ContentErrorUiLabels"; public static String createLayoutImage(HttpServletRequest request, HttpServletResponse response) { Locale locale = UtilHttp.getLocale(request); Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java?rev=693881&r1=693880&r2=693881&view=diff ============================================================================== --- ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java (original) +++ ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java Wed Sep 10 09:18:37 2008 @@ -42,7 +42,7 @@ public class LayoutWorker { public static final String module = LayoutWorker.class.getName(); - public static final String err_resource = "ContentErrorUiLabel"; + public static final String err_resource = "ContentErrorUiLabels"; /** * Uploads image data from a form and stores it in ImageDataResource. |
Free forum by Nabble | Edit this page |