File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "PropertyNotFoundException exception" Watch "PropertyNotFoundException exception" New topic

PropertyNotFoundException exception

Rafa de Castro

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 ?

Rafa de Castro

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.
I agree. Here's the link:
subject: PropertyNotFoundException exception
It's not a secret anymore!