This is used to create a component that acts as a container to group a set of components. All these components are under one component or can say one parent. So this can be useful when we want to nest two or more components into one parent panelGrid column. If we want to render two components without using this tag then these will be rendered in separate columns. This component renders its all children and count them as one component. So this fact of this tag can be useful for us in the case where a component allows only one child component.The program given below will make you clear this concept.
Code Description :
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
|
Rendered Output : In the above code we have taken 4 components in footer facet component. We have used panelGroup tag to render these 4 components in a single column. It happened because colspan has been set to 3 i.e. no of columns.

Html Source Code:
<html>
|
This tag is comprised of many attributes that are summarized below :
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: JSF panelGroup Tag
Post your Comment