Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/editor
In directory james.mmbase.org:/tmp/cvs-serv24462/editor
Modified Files:
Tag: MMBase-1_8
BasicEditor.java
Log Message:
i18n not working properly
See also:
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/editor
Index: BasicEditor.java
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/editor/BasicEditor.java,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -b -r1.9 -r1.9.2.1
--- BasicEditor.java 6 Jul 2006 11:36:12 -0000 1.9
+++ BasicEditor.java 26 Feb 2008 10:09:23 -0000 1.9.2.1
@@ -27,7 +27,7 @@
* of the very first field the edittag encounters, with an icon to click on.
*
* @author André van Toly
- * @version $Id: BasicEditor.java,v 1.9 2006/07/06 11:36:12 michiel Exp $
+ * @version $Id: BasicEditor.java,v 1.9.2.1 2008/02/26 10:09:23 michiel Exp $
* @see EditTag
* @see YAMMEditor
* @since MMBase-1.8
@@ -101,7 +101,7 @@
String icon = getValue("icon", cloud, nodenr, context);
url = makeRelative(url, context);
Writer html = context.getOut();
- Locale locale = (Locale) context.getAttribute(LocaleTag.KEY,
PageContext.PAGE_SCOPE);
+ Locale locale = (Locale) context.getAttribute(LocaleTag.KEY,
LocaleTag.SCOPE);
if (locale == null) {
locale =
org.mmbase.bridge.ContextProvider.getDefaultCloudContext().getDefaultLocale();
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs