Author: adrianc
Date: Tue Jan 6 15:38:47 2009
New Revision: 732173
URL:
http://svn.apache.org/viewvc?rev=732173&view=revLog:
Fixed a problem where the BSH interpreter was throwing exceptions on a variable that had periods in its name.
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/UelUtil.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/UelUtil.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/UelUtil.java?rev=732173&r1=732172&r2=732173&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/UelUtil.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/UelUtil.java Tue Jan 6 15:38:47 2009
@@ -34,7 +34,7 @@
/** Implements the Unified Expression Language (JSR-245). */
public class UelUtil {
protected static final String module = UelUtil.class.getName();
- public static final String localizedMapLocaleKey = LocalizedMap.class.getName() + ".locale";
+ public static final String localizedMapLocaleKey = LocalizedMap.class.getName() + "_locale".replace(".", "_");
protected static final ExpressionFactory exprFactory = JuelConnector.newExpressionFactory();
protected static final ELResolver defaultResolver = new ExtendedCompositeResolver() {
{