This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSF and the fly likes PropertyNotFoundException exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "PropertyNotFoundException exception" Watch "PropertyNotFoundException exception" New topic
Author

PropertyNotFoundException exception

Rafa de Castro
Greenhorn

Joined: Jul 25, 2006
Posts: 16
Surely it has been answered before but i've been looking for two days on this (also used advanced search function and didn't find anything).

I have a form that displays a dataTable and I want to display some data with checkbox on it. Similar to a webmail.

The code for the jsf is (resumed to all important parts).



The backing bean definition has a method like this (just for testing purposes) for populating the table



and for the data binding



And the (big) stack trace.

Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
do you have the binding methods getSelectedDocuments() and setSelectedDocuments() in your backing bean ?

Thanks,
Rafa de Castro
Greenhorn

Joined: Jul 25, 2006
Posts: 16
Yes. I did a copy of other tryout. The correct code of the jsp was




Today I solved it but can't understad why.

I changed the declaration of getSelection table and seltSelectionTable like this and everithing worked.



Can somebody undestand why? All the docs I found were with the old declaration.
 
Don't get me started about those stupid light bulbs.
 
subject: PropertyNotFoundException exception
 
Similar Threads
Marshalling exception
JSTL Configuration (was: tomcat installation)
JSP doesn't work in Linux server.
f:selectItem
upload error