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 problem 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 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DataTable problem
 
Similar Threads
Accessing a beanList Returned from JSP
inputText tag not working properly
JSF ArralyList rendering to Target page is throwing Class Cast Exception
nesting h:panelGrid within h:dataTable
datatable problem