Primefaces xhtml中portlet中的所见即所得编辑器liferay

Primefaces xhtml中portlet中的所见即所得编辑器liferay,primefaces,xhtml,liferay,wysiwyg,portlet,Primefaces,Xhtml,Liferay,Wysiwyg,Portlet,如何从xhtml页面在portlet中添加所见即所得编辑器 我试过: <liferay-ui: input-editor value = "#{BackBean.foro.desarrollo}"> 我使用liferay 6.0.6 使用liferay faces 3.0.3和Primefaces 3.5 谢谢liferay ui标记是liferay的自定义jsp标记,您不能在xhtml页面中使用它们 最好为所见即所得编辑器使用primefaces标记 e、 g Liferay

如何从xhtml页面在portlet中添加所见即所得编辑器

我试过:

<liferay-ui: input-editor value = "#{BackBean.foro.desarrollo}">
我使用liferay 6.0.6 使用liferay faces 3.0.3和Primefaces 3.5


谢谢

liferay ui标记是liferay的自定义jsp标记,您不能在xhtml页面中使用它们

最好为所见即所得编辑器使用primefaces标记

e、 g



Liferay Faces门户有一个相当于Liferay ui:input editor JSP标记的Facelet。我建议您升级到3.0.4-ga5版本(本文撰写时的最新版本),看看它是否有效。

Hi Neil:我已经能够将liferay ui:input editor放在我的JSF porlet中了。但当组件显示在页面中时,会出现以下消息:var oldEditor=CKEDITOR.instances['A7976:CrearForo:j_idt14'];if(oldEditor)>{oldEditor.destroy(true);delete window['A7976:CrearForo:j_idt14'];}if(oldEditor){var customDataProcessorLoaded=true;}else{var customDataProcessorLoaded=false;}有时候,如果我刷新页面,就不会加载组件,你能帮我吗?根据您的回复,我使用liferay portal 6.0.6和liferay faces 3.0.4 GA5
/html/js/editor/editor.wysiwyg.default.jsp JSP File not found 
<p:editor value="#{BackBean.foro.desarrollo}" />