File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes datatable selection returning null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "datatable selection returning null" Watch "datatable selection returning null" New topic

datatable selection returning null

Richard Pinaroc

Joined: Jun 03, 2011
Posts: 7
Hello All,

My code is based on the PrimeFaces "DataTable - Row Selection" example. I want to be able to change the color value using selectOneMenu for that selected record. The problem is when add a selectOneMenu

returns the following error:

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17282

All that says is the "getSelectedCar()" method on tableBean returned a null value. Or, there is no public void getSelectedCar() property accessor method on tableBean.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: datatable selection returning null
It's not a secret anymore!