• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

property not found on the managed bean

 
bee fouda
Greenhorn
Posts: 14
Eclipse IDE Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a problem that the managedBean didn't find the method ""

here is my managedBean





and he re is my xhtml file




and here is my error which claim that the managed bean didn't found the property although it exist the the managed bean

 
bee fouda
Greenhorn
Posts: 14
Eclipse IDE Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just need to rename the method lister to getLister to follow the Java bean convention.

then change code to this #{reglementMB.lister}, the code rendering the page will look for a method called getLister() in the bean.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to study how JavaBeans work. That's the architecture that JSF uses for its backing bean objects.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic