May 2015
Beginner to intermediate
412 pages
8h 44m
English
The outputPanel component is a panel component that can be rendered as a div or span HTML component. In this recipe, we will create an output panel that demonstrates deferred loading and placeholder usage for a data table.
A basic definition of an output panel would be as follows:
<p:outputPanel layout="block">
<h3>The Volkswagen CC (also known as the
Volkswagen Passat CC)</h3>
<p>is a four-door coupe version of the Volkswagen Passat.</p>
</p:outputPanel>When the layout attribute is set to block, which is the default value, outputPanel renders an HTML div. By setting layout as inline, we can render an HTML span instead of the div.
The outputPanel component supports deferred loading, where the ...
Read now
Unlock full access