This is an example:
This is the code:Normal text here.
$(function(){PrimeFaces.cw("TextEditor","widget_mf_editorInternal",{id:"mf:editorInternal",height:100});});...............
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>