• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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.
 
Check your pockets for water buffalo. You might need to use this tiny ad until locate a water buffalo:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic