This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error when I select a given data p:datatable  RSS feed

 
Roberto Alves Pereira
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My dataTable of primefaces



my listagem.xhtml

when I select any of a given table

it returns me the following error





someone help?
I used primefaces 3.5

jsf 2.1
 
Tim Holloway
Bartender
Posts: 18660
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Always try to minimize the amount of example code you post. One of the downsides of getting free help is that when you post something that overflows the screen, it's a lot harder for us to get motivated to wade through it.

I think your problem is here:


EL is not intended as a programming language. Programming should be done on the Model, not on the View. In particular, read/write property references, such as those made by "value=" are unsuited for programmatic access, since Java doesn't return references to objects, it returns objects, and a method call is effectively only going to read and not write.

So try this instead:

>
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!