This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


JavaRanch » Java Forums » Java » JSF
Bookmark "datatable selection returning null" Watch "datatable selection returning null" New topic
Author

datatable selection returning null

Richard Pinaroc
Greenhorn

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: 17018
    
  26

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Have you checked out Aspose?
 
subject: datatable selection returning null
 
It's not a secret anymore!