GeeCON Prague 2014*
The moose likes JSF and the fly likes DataGrid Sample Code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "DataGrid Sample Code" Watch "DataGrid Sample Code" New topic
Author

DataGrid Sample Code

Krish Gulivs
Greenhorn

Joined: Dec 05, 2009
Posts: 3
Hi friends I am new to this forum..............

I googled for sample codes of Jsf datagrid but i didnt find any.
can you please help me if you know any links. help me please.

Akaine Harga
Ranch Hand

Joined: Nov 03, 2009
Posts: 80

Not sure if there is any in JSF. Use RichFaces extension for that. You will find a datagrid and much more useful stuff there.


Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?
willCodeForFood("Java,PHP,C#,XML,VBS,XHTML,CSS,JavaScript,SQL"); //always looking for job opportunities in AU/NZ/US/CA/Europe :P
Krish Gulivs
Greenhorn

Joined: Dec 05, 2009
Posts: 3
Akaine Harga wrote:Not sure if there is any in JSF. Use RichFaces extension for that. You will find a datagrid and much more useful stuff there.


Thank you for your information.But you are saying abour richfaces.............
I dont abour richfaces.Can you bit explain more.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16103
    
  21

h:panelGrid is the core JSF tag, and it allows organizing the View components in a 2-dimensional regular structure equivalent to the HTML table (which is what it renders as).

rich:dataGrid is an enhancement to this concept that melds the abilities of h:panelGrid and h:dataTable. Unlike the panelGrid, it binds a linear sequence of items (list model) to the view. Unlike the dataTable, it allows this sequence to be displayed in a 2-D array of cells, instead of in 1-Dimensional rows.

RichFaces is an open-source product of Red Hat/JBoss that supplies extensions to the core JSF tagset with enhanced abilities, including extensive AJAX support. I think you can find the details from the main http://jboss.org webpage.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
GeeCON Prague 2014
 
subject: DataGrid Sample Code