• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

PropertyNotFoundException exception

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic