wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Don't get me started about those stupid light bulbs.
 
subject: How to make a bean class for rich:dataGrid?
 
Similar Threads
problems with a commandLink inside a rich:datagrid
editbale rich:daragrid
Forgetting about constructors
Java
Nested use of var/value