File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
Consider Paul's rocket mass heater.
 
subject: jsf controls in h:datatable
 
Similar Threads
Please HELP me. How To Hard Code Values in Each Row of a dataTable?
Datascroller for a datatable | need help
Problem with h:selectManyCheckbox
Which Package to Import to Use FacesContext's getRequestMap()?
Scrolling problem with JSF