Solving problems with CKEditor in 9.0.1FP1 and/or FP2

// Java code to define a map containing some configuration strings for the Dojo stuff
package org.openntf.xsp.dojo;
import java.util.HashMap;
import java.util.Map;
public class Config implements Serializable {
	private static final long serialVersionUID = -5429830701050906773L;
	private final Map<String, String> config;
	public Config() {
		this.config = new HashMap<String, String>();
		DojoLibrary dojolib =;
		// get the current version of Dojo
		config.put("version", dojolib.getVersion().toString());
		// get the keyword for setting toolbar options
		config.put("toolbartype", dojolib.getVersion().toString().indexOf("1.9") == -1 ? "toolbarType" : "toolbar");
		// to be extended...
	public Map<String, String> getConfig() {
		return config;
<!-- faces-config.xml -->
<!-- example using the Richtext control -->
<xp:inputRichText id="inputRichText1"
						<xp:dojoAttribute name="extraPlugins"
						<xp:dojoAttribute value="Full">
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
No comments yetLogin first to comment...