This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes dataList issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "dataList issue" Watch "dataList issue" New topic
Author

dataList issue

sriram Ganapathi
Greenhorn

Joined: Dec 19, 2012
Posts: 10
Hi ,


I am new to Jsf , by using the dataList tag in jsf i am getting some rows of data how to select a
Particular row from the data list and also how to display the dataList items in a table format.

i had given the outputdata below.


Airline:-6E Stops:-1 Departure:-Tue Dec 01 15:30:00 IST 3908Arrival:-Tue Dec 01 18:55:00 IST 3908 12300 4887.4
Airline:-IT(RED) Stops:-0 Departure:-Tue Dec 01 21:05:00 IST 3908Arrival:-Tue Dec 01 23:30:00 IST 3908 8700 4892.67
Airline:-S2 Stops:-0 Departure:-Tue Dec 01 13:00:00 IST 3908Arrival:-Tue Dec 01 15:40:00 IST 3908 9600 5186.47
Airline:-S2 Stops:-0 Departure:-Tue Dec 01 13:00:00 IST 3908Arrival:-Tue Dec 01 15:40:00 IST 3908 9600 5186.47
Airline:-S2 Stops:-0 Departure:-Tue Dec 01 19:35:00 IST 3908Arrival:-Tue Dec 01 22:15:00 IST 3908 9600 5186.47

i need like this:

Airline Departure Arrival Duration cost

6E 01-6-13 02-06-13 2:00
S2 01-6-13 02-06-13 3:00


thanks in Advance.


Regards,
Sriram
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

Google for "JSF for Non-believers" by Rick Hightower. It's a series of articles in the IBM Developerworks series, and while it's quite old, it's still one of the best examples.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: dataList issue