JSF Showcase


HtmlOutputFormat is a UIOutput component that renders parameterized text.

General Usage

The value attribute can contain parameterized text in the same manner as MessageFormat and parameter substitution is accomplished via f:param child tags.
First: Alpha, Last: Omega

Source Code

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

		<h:outputFormat  value="First: {1}, Last: {0}">
			<f:param value="Omega" />
			<f:param value="Alpha" />

Liferay Faces Bridge Implementation 4.0.0 + Showcase Common 3.0.0 + Liferay Faces Util 3.0.1-SNAPSHOT + Mojarra 2.2.13