Class HtmlOutputText

java.lang.Object
All Implemented Interfaces:
PartialStateHolder, StateHolder, TransientStateHolder, ValueHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder, EventListener

public class HtmlOutputText extends UIOutput

Renders the component value as text, optionally wrapping in a span element if I18N attributes, CSS styles or style classes are specified.

If you are using h:outputText (or an equivalent inline EL expression) within a script or style block the value is NOT escaped by default.

By default, the rendererType property must be set to "jakarta.faces.Text". This value can be changed by calling the setRendererType() method.