GeeCON Prague 2014*
The moose likes JSF and the fly likes jsf controls in h:datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "jsf controls in h:datatable" Watch "jsf controls in h:datatable" New topic
Author

jsf controls in h:datatable

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
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

Joined: Sep 22, 2003
Posts: 1
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 ]

--------<br />be nice.
 
GeeCON Prague 2014
 
subject: jsf controls in h:datatable