html.append(req.getContextPath()).append("/fckeditor/';\n" + " var oFCKeditor = new FCKeditor('param_");
html.append(getId()).append("', '100%', '150') ;\n"
+ " oFCKeditor.BasePath = sBasePath;\n"
+ " oFCKeditor.Config['CustomConfigurationsPath'] = '");
URLMarkupGenerator markupGenerator = (URLMarkupGenerator) UIServices.lookup().getUrlMarkupGenerator();
Map paramsMap = new HashMap();
paramsMap.put(RedirectionHandler.PARAM_PAGE_TO_REDIRECT, "/fckeditor/custom/fckConfig.jsp");
String uri = markupGenerator.getMarkup("org.jboss.dashboard.ui.components.RedirectionHandler", "redirectToSection", paramsMap);
if (!uri.startsWith("/")) uri = "/" + uri;
html.append(req.getContextPath()).append(uri).append("';"
+ " oFCKeditor.Config[\"DefaultLanguage\"] = '").append(SessionManager.getLang()).append("';\n");
html.append(" oFCKeditor.ReplaceTextarea();\n" + "</script>");