露天共享下的CKEditor(4.2.a)

露天共享下的CKEditor(4.2.a),ckeditor,alfresco-share,Ckeditor,Alfresco Share,我试图让CKEditor在Share()下运行,在以前的版本(4.0.d)中它工作正常,但在最新的版本中我遇到了问题。 访问编辑表单时,它不会在内容位置显示任何内容,在日志中,我有以下内容: 9.7.2012 14:56:59 org.apache.jsp.error500_jsp _jspService SEVERE: javax.servlet.ServletException: Could not resolve view with name 'site/my_sample_site/sk

我试图让CKEditor在Share()下运行,在以前的版本(4.0.d)中它工作正常,但在最新的版本中我遇到了问题。 访问编辑表单时,它不会在内容位置显示任何内容,在日志中,我有以下内容:

9.7.2012 14:56:59 org.apache.jsp.error500_jsp _jspService
SEVERE: javax.servlet.ServletException: Could not resolve view with name 'site/my_sample_site/skins/kama/editor.css' in servlet with name 'Spring Surf Dispatcher Servlet'
9.7.2012 14:56:59 org.apache.jsp.error500_jsp _jspService
SEVERE: javax.servlet.ServletException: Could not resolve view with name 'site/my_sample_site/contents.css' in servlet with name 'Spring Surf Dispatcher Servlet'
在该页面的源代码中,正确定义了编辑器的div,也包括js。我试图在share-config-custom.xml中手动定义资源的依赖项,它看起来有一些效果,因为表单div的高度已更改,但它仍然为空,并且记录了相同的异常

<config>
  <forms>
    <dependencies>
      <js src="/modules/editors/ckeditor/ckeditor.js" />
      <js src="/components/editors/ckeditor/ckeditorloader.js" />
      <js src="/modules/editors/ckeditor/lang/cs.js" />
      . . .
      <js src="/modules/editors/ckeditor/skins/kama/editor.css" />
      <js src="/modules/editors/ckeditor/contents.css" />
    </dependencies>
  </forms>
</config>

. . .
我添加了运行时出现的所有缺少的内容,但没有任何效果


我的问题是:为什么“某物”仍在试图访问编辑器中站点的相对路径中的资源?我手动定义了资源,为什么它们不被接受呢?

我确实提出了一些修改,使其适用于4.2.c,包括图像属性和属性版

希望他们能很快被布兰奇少爷收回来


关于Alfresco 4.2.2中的Francois,我通过在form.js.ftl和form.css.ftl文件中添加依赖项来实现它

<@script type="text/javascript" src="${url.context}/res/components/editors/ckeditor/ckeditorloader.js" group="form"/>
<@script type="text/javascript" src="${url.context}/res/components/editors/ckeditor/config.js" group="form"/>
<@script type="text/javascript" src="${url.context}/res/modules/editors/ckeditor/ckeditor.js" group="form"/>
<@script type="text/javascript" src="${url.context}/res/modules/editors/ckeditor/config.js" group="form"/>
<@script type="text/javascript" src="${url.context}/res/modules/editors/ckeditor/lang/en.js" group="form"/>
<@script type="text/javascript" src="${url.context}/res/modules/editors/ckeditor/plugins/image/dialogs/image.js" group="form"/>
<@script type="text/javascript" src="${url.context}/res/modules/editors/ckeditor/plugins/styles/styles/default.js" group="form"/>



<@link href="${url.context}/res/modules/editors/ckeditor/skins/kama/editor.css" group="form"/>
<@link href="${url.context}/res/modules/editors/ckeditor/skins/kama/dialog.css" group="form"/>
<@link href="${url.context}/res/modules/editors/ckeditor/contents.css" group="form"/>

很抱歉,该项目已经过世,因此我无法再尝试您的答案:)