日期:2014-05-17  浏览次数:20869 次

Fckeditor的问题!急 !!
错误信息:
Java code

14406 [http8080-Processor23] WARN net.fckeditor.handlers.RequestCycleHandler - No property found for UserAction implementation, any user action will be disabled!
14406 [http8080-Processor23] WARN net.fckeditor.handlers.RequestCycleHandler - No property found for UserPathBuilder implementation! The 'DefaultUserFilesPath' will be used in the ConnectorServlet!




------解决方案--------------------
给你官司方例子!!!需要的话联系我QQ306354800
------解决方案--------------------
<script type="text/javascript">
<!--
var oFCKeditor = new FCKeditor( 'htmlcode' ) ;
oFCKeditor.BasePath = 'FCKeditor/';
oFCKeditor.Config['CustomConfigurationsPath'] = '<%=request.getContextPath()%>/FCKeditor/fckconfig_cws_cms.jsp?dir=' + '<%=StrUtil.UrlEncode(dir_code)%>' ;
<%if (templateId!=-1 && doc==null) {%>
oFCKeditor.Value = document.getElementById("divTemplate").innerHTML;
<%}else{%>
oFCKeditor.Value = document.getElementById("idTemporary").innerHTML;
<%}%>
oFCKeditor.Height = 400 ;

oFCKeditor.Config["LinkBrowser"]=false;//文件
oFCKeditor.Config["ImageBrowser"]=true;
oFCKeditor.Config["FlashBrowser"]=true;

oFCKeditor.Config["LinkUpload"]=false;
oFCKeditor.Config["ImageUpload"]=false;
oFCKeditor.Config["FlashUpload"]=false;

oFCKeditor.Config["SkinPath"] = "skins/<%=cfg.getProperty("cms.fckeditorSkin")%>/";

oFCKeditor.Create() ;
//-->
</script>
------解决方案--------------------
探讨
补充一下
fckeditor.properties资源文件:

Java code
connector.userActionIm pl=net.fckeditor.requestcycle.impl.UserActionImpl



web.xml配置文件:

Java code
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee