Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PropertyNotFoundException exception

 
Rafa de Castro
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do you have the binding methods getSelectedDocuments() and setSelectedDocuments() in your backing bean ?

Thanks,
 
Rafa de Castro
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic