This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Datatable - displaying Collection of Strings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Datatable - displaying Collection of Strings" Watch "Datatable - displaying Collection of Strings" New topic
Author

Datatable - displaying Collection of Strings

Ayan Afridi
Greenhorn

Joined: Jan 18, 2005
Posts: 24
Hi,

I have succesfully used h:dataTable to display a list of objects. But how would I display a simple list of strings in a datatable? Is this possible?
ex:
Ayan Afridi
Greenhorn

Joined: Jan 18, 2005
Posts: 24
Never mind. this is the most stupid question I have ever asked. I had a problem with another tag on my page.

All good now.
James Clinton
Ranch Hand

Joined: Jun 23, 2003
Posts: 190
There is no such thing as a stupid question, only stupid answers!

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Datatable - displaying Collection of Strings
 
Similar Threads
Using selectManyCheckbox
JSF datatable doubt
How to determine which dataTable row was selected
Finding which cell was clicked in a DataTable?
Unable to display header in outer JSF datatable of a nested datatable using facet tag