HtmlOutputText is a UIOutput component that renders its own value as text.

General Usage

The value attribute can be bound to a model bean property via EL.
This is text from a model bean property.

Source Code

<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html"

		<h:outputText  value="#{outputTextModelBean.text}" />

public class OutputTextModelBean {

	public String getText() {
		return "This is text from a model bean property.";

	public Date getToday() {
		return GregorianCalendar.getInstance().getTime();
Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 3.1.1 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20