xhtml :
Code: Select all
<p:textEditor></p:textEditor>
Code: Select all
javax.faces.FacesException: TextEditor component is marked secure='true' but the HTML Sanitizer was not found on the classpath. Either add the HTML sanitizer to the classpath per the documentation or mark secure='false' if you would like to use the component without the sanitizer.
at org.primefaces.component.texteditor.TextEditorRenderer.checkSecurity(TextEditorRenderer.java:181)
at org.primefaces.component.texteditor.TextEditorRenderer.encodeEnd(TextEditorRenderer.java:87)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:595)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1654)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)
Is this a bug ?
Or Am I missing an "HTML Sanitizer" (what exactly should I add to the classpath) ?
Or should I mark the component secure='false' (how) ?
Regards
--
Xavier