This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSF and the fly likes How to make a bean class for rich:dataGrid? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to make a bean class for rich:dataGrid?" Watch "How to make a bean class for rich:dataGrid?" New topic
Author

How to make a bean class for rich:dataGrid?

Binnie Fabian
Greenhorn

Joined: Oct 01, 2010
Posts: 12
Good Day,

I would like to use rich:dataGrid but don't know how to make the bean class for it.
I've been in the richfaces4 live demo but there is no sample bean for the rich:dataGrid.
I've also been searching the net but can't find one.
Can somebody give me an example how to make one?
Thanks in advance

Binnie
Gerin Jacob
Greenhorn

Joined: Jun 11, 2009
Posts: 8

Hi,

rich:dataGrid will take an Iterable, say a List.



And your rich:dataGrid will look like,


Hope this explains.


Regards,
Gerin Jacob
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to make a bean class for rich:dataGrid?
 
It's not a secret anymore!