This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes JSF and the fly likes Displaying Datatable in adjacent manner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Displaying Datatable in adjacent manner" Watch "Displaying Datatable in adjacent manner" New topic

Displaying Datatable in adjacent manner

Ravi Sankar
Ranch Hand

Joined: Aug 17, 2007
Posts: 49

I have a requirement like to display the datatable in a calendar window. I have to display the datas in seven columns (Days) and maximum of six rows (Weeks). Can anyone help on this?

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

It is all in the structure of the data and not really in the JSF part, I mean you could create a custom JSF Component that can figure it all out with any kind of special structure for the data.

But lets say you a List of Week objects and in a Week object there are 7 Day attributes. So the JSF datatable takes the list of weeks and displays each day in a different column.

Why does this sound like a Homework assignment?


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Have you tried LearnNowOnline?
subject: Displaying Datatable in adjacent manner