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 DataTable problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "DataTable problem" Watch "DataTable problem" New topic
Author

DataTable problem

Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Hi guys,

I have a problem with my data table, it doesn't display any data, the dataLable tags are not being displayed either.

Here's my code for the JSF page

When I right click on th browser and view source i get


So I know the bean (as the <tr></tr> are being displayed)is looking for the data but just can't display it for some reason.

My bean is as follow;


So esssentially what I'm doing is displaying data from an ArrayList.

Ignore the fields i.e. displaying the password isn't a good - my intention is just to display something - which I'm obviously not getting very far with.

Can anyone see any probs etc.. in the code I've posted. Any tips, pointers, tutorials etc.. will be appreciated.

Regards
Zein
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Ohh I have registered the bean in the faces-config.xml


Thanks in advance for looking guys.
Regards
Zein
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: DataTable problem
 
Similar Threads
inputText tag not working properly
JSF ArralyList rendering to Target page is throwing Class Cast Exception
datatable problem
Accessing a beanList Returned from JSP
nesting h:panelGrid within h:dataTable