• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Rahul Shivsharan
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 212
1
Android Flex Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are pointers here that could solve your problem --

http://balusc.blogspot.com/2006/06/using-datatables.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic