• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
security forum advocate
Posts: 236
1
Android Flex Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are pointers here that could solve your problem --

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