• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsf controls in h:datatable

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I posted only the code. When i try to render this page, with jsf tags, the jsf component tags are not getting rendered. Can anybody plz help!

I compared my code with the one in book. Core JSF . I dont see any difference!
 
Florian Steinsiepe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need something to iterate over, e.g.:

to make sure that the data table renderer can iterate over a certain list of beans. The "var" attribute is required only if you want to use the beans within the columns of your table.

I compared my code with the one in book. Core JSF . I dont see any difference!

Don't know the book. But I can't imagine that they're using a data table without an iterator. Are you sure you didn't want to draw a panel grid?
[ June 02, 2006: Message edited by: Florian Steinsiepe ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic