p:texteditor problem/strange behavior

UI Components for JSF
Post Reply
RalfScania
Posts: 81
Joined: 26 Sep 2012, 12:51

06 Dec 2016, 14:48

In some cases, texteditor shows some java scipt code inside the value.

This is an example:
Normal text here.

$(function(){PrimeFaces.cw("TextEditor","widget_mf_editorInternal",{id:"mf:editorInternal",height:100});});...............
This is the code:

Code: Select all

 <p:textEditor
       id="editor"
       value="#{sales.project.comments}"
       disabled="#{sales.project.projectStatus eq 2 or sales.project.projectStatus gt 4 or sales.user.salesToolReader}"
       height="100">
</p:textEditor>
Primefaces 8.0.4, MyFaces 2.2.8, Tomcat 9.0.8

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 32 guests