aspose file tools*
The moose likes JSF and the fly likes What is the difference between panelGrid and panelGroup? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "What is the difference between panelGrid and panelGroup?" Watch "What is the difference between panelGrid and panelGroup?" New topic
Author

What is the difference between panelGrid and panelGroup?

Prateek Kumar Singh
Greenhorn

Joined: Jan 21, 2011
Posts: 29

Hi Guys,

The actual answer of this question is
The h:panelGrid tag is used to represent an entire table. The h:panelGroup tag is used to represent rows in a table.

The columns attribute defines how to group the data in the table and therefore is required if you want your table to have more than one column. The h:panelGrid tag also has a set of optional attributes that specify CSS classes:columnClasses, footerClass, headerClass, panelClass, and rowClasses.



A pannel group is set of row in table.

J. Frederik
Greenhorn

Joined: Mar 06, 2013
Posts: 16
Prateek Kumar Singh wrote:
The h:panelGroup tag is used to represent rows in a table.

The h:panelGroup tag can be used to put multiple components into a single table cell or other parent components that allow only a single child component.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21


The actual answer of this question is
The h:panelGrid tag is used to represent an entire table. The h:panelGroup tag is used to represent rows in a table.


I am sorry, but you are 100% wrong.

JSF does not support table spans - as many frustrated people have discovered. However, the inverse of a span is supported, and that is the panelGroup.

A panelGroup will take multiple child components which ordinarily would have each been assigned to a separate column and arrange them all in a single cell.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the difference between panelGrid and panelGroup?