• Post Reply Bookmark Topic Watch Topic
  • New Topic

Property not found  RSS feed

 
Predrag Ristic
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to use rich:extendedDataTable component to display list of training a certain user is attending.This is the code on the page:


This is part of my bean class with the property trainings which I'm passing as a extendedDataTable value:

That should do the job but I'm getting the error message:"Property 'trainings' not found".
Can someone tell why?
Thanks!
 
Tim Holloway
Bartender
Posts: 18715
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Datatables cannot access collections directly. You have to wrap them in JSF datamodel objects. The framework is looking for a method with a signature such as the following:

 
Predrag Ristic
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.I will try to implement that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!