aspose file tools
The moose likes JSF and the fly likes My binding with datatable give me null ate the backing bean, do i miss some thing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "My binding with datatable give me null ate the backing bean, do i miss some thing" Watch "My binding with datatable give me null ate the backing bean, do i miss some thing" New topic
Author

My binding with datatable give me null ate the backing bean, do i miss some thing

Rahul Shivsharan
Ranch Hand

Joined: Jun 17, 2009
Posts: 83
Hi , what i'm trying to do is first to load arraylist of student objects in h:datatable in the jsp, than on submit i want to get those student collection back in backing bean.
The datatable will have student information in columns containing h:inputtext. So user can edit the collection of student .

For this i did binding with HTMLDatatable in backing bean. but this gives me null pointer exception. why?

This is as follows

my backing bean



this is my jsp




i get null pointer exception in method doItRe() of backing bean why ?, did i missed out something
Sai Hegde
security forum advocate
Ranch Hand

Joined: Oct 26, 2010
Posts: 183

There are pointers here that could solve your problem --

http://balusc.blogspot.com/2006/06/using-datatables.html
 
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: My binding with datatable give me null ate the backing bean, do i miss some thing
 
Similar Threads
h:dataTable binding => duplicate ID
Array of Object in DataTable
Not able to submit datatable
Show HashMap in Datatable. UIColumn with embedded Datatable. Help Needed
commandLink not working in datatable+jsf2.0