Primefaces 从支持bean向p:editor追加文本

Primefaces 从支持bean向p:editor追加文本,primefaces,Primefaces,这段代码用于获取和更新p:InputExtArea或p:outputLabel值,但我无法使这段代码与p:editor一起工作-引发异常: com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError org.primefaces.expression.ComponentNotFoundException: Cannot find component for expression "form:editor_in


这段代码用于获取和更新p:InputExtArea或p:outputLabel值,但我无法使这段代码与p:editor一起工作-引发异常:

com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError org.primefaces.expression.ComponentNotFoundException: Cannot find component for expression "form:editor_input" referenced from "j_id1"
“form:editor\u input”是来自我的页面源的p:editor的id。
是否可以将来自支持bean的文本附加到此PF组件?

为什么不能更新编辑器绑定到bean上的字符串(“值”-属性)?抱歉,我不是很擅长编程,但在bean编辑器中,值为null,但它没有提交,对吗?示例:用户使用编辑器打开页面,键入一些文本并上载一些图像,此时我无法将图片链接附加到bean中的现有文本。这就是为什么我试图在支持bean更新requestContextContext的过程中从uploadListener方法更新编辑器值。没错,编辑器需要提交。但您可能可以使用ajax实现这一点。例如,如果您使用p:fileUpload(使用ajax),您可以尝试在process和update属性中指定“@form”,并在fileUploadListener中将字符串添加到编辑器中。不过我还没试过。。。如果这不起作用,您可以使用如下远程命令:@form attribute在更新和处理过程中没有帮助。。。但我解决了我的问题,改为基本上传组件:它有提交按钮。这个问题我没有回答,因为它是关于从requestmap更改编辑器值的问题
com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError org.primefaces.expression.ComponentNotFoundException: Cannot find component for expression "form:editor_input" referenced from "j_id1"