Right surface editor displays true on reprocessing

I have an editor in my project:

<p:editor id="content" value="#{myBean.content}" width="1000" height="400"/> <h:message for="content" errorClass="invalid"/> 

and when I update my form with ajax in the Link command:

 <p:commandLink styleClass="btn" action="#{myBean.save()}" value="Save"> <f:ajax render="@form" execute="@form" /> </p:commandLink> 

the contents of the p: edit element are switched to true, and I can no longer modify it. This only happens when I file a lawsuit in firefox, and the chrome works fine. Any idea how to fix this?

+1
source share
1 answer

I don't know why, but if you change f: ajax to p: ajax like this:

 <p:commandLink styleClass="btn" action="#{myBean.save()}" value="Save"> <p:ajax process="@form" update="@form" /> </p:commandLink> 

everything is working fine.

+1
source

All Articles