Meaningless Drivel is fun!*
The moose likes JSF and the fly likes property not found on the managed bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "property not found on the managed bean " Watch "property not found on the managed bean " New topic
Author

property not found on the managed bean

bee fouda
Greenhorn

Joined: Mar 20, 2013
Posts: 14

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

Joined: Mar 20, 2013
Posts: 14

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

Joined: Jun 25, 2001
Posts: 16065
    
  21

You need to study how JavaBeans work. That's the architecture that JSF uses for its backing bean objects.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: property not found on the managed bean