我正在将richfaces 3.x、jsf 1.x、jboss-seam 2.2 迁移到richfaces 4.x、jsf 2.x 和jboss-seam 2.3。我在加载 ajax 的 popupPanel 中有一个 rich:editor 标记。ckeditor.js.seam?ln=org.richfaces.ckeditor:16 正在尝试加载 editor.ecss 和 en.js,但是我得到了404并且控制台中的错误无法读取未定义的属性选项在 ckeditor.js.seam?ln=org.richfaces.ckeditor:49。代码如下
<rich:tabPanel switchType="ajax">
<rich:tab>
<a4j:commandButton value="loadComments" render="addCommentModalPanel"
oncomplete="RichFaces.ui.PopupPanel.showPopupPanel('addCommentModalPanel');" />
</rich:tab>
</rich:tabPanel>
<rich:popupPanel>
<div>
<rich:editor value="#{someBean.getValues}"/>
</div>
</rich:popupPanel>
PS:我也看到了editor.ecss文件richfaces-components-ui jar。