my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 15962
    
  19

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: datatable selection returning null
 
Similar Threads
JASPER export to pdf using Servlet Detail not show..help please
Not able to access Session Bean in Seam Framework
Simple Example for Enums and selectOneRadio
java.lang.NullPointerException at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting
JDBC in JSP not working