Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15632
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: datatable selection returning null
 
Similar Threads
JDBC in JSP not working
Not able to access Session Bean in Seam Framework
JASPER export to pdf using Servlet Detail not show..help please
Simple Example for Enums and selectOneRadio
java.lang.NullPointerException at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting