This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply 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: 14572
    
    7

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: datatable selection returning null
 
Similar Threads
JDBC in JSP not working
Simple Example for Enums and selectOneRadio
java.lang.NullPointerException at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting
JASPER export to pdf using Servlet Detail not show..help please
Not able to access Session Bean in Seam Framework