HtmlPanelGroup is a UIPanel component that renders a <span> or a <div> element for grouping purposes.

General Usage

The layout attribute specifies whether the component renders a span or a div.
This text is inside a <span> HTML tag
This text is inside a <div> HTML tag

Source Code

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

	<!-- Example#1: By default, this component renders a span. -->
		<h:panelGroup  styleClass="showcase-example-panel">

	<!-- Example#2: Specifying block for the layout attribute causes the component to render a div. -->
		<h:panelGroup layout="block" 

Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 3.1.1 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20