• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multilevel nesting - unable to save data for inner collection  RSS feed

 
Abhishek Sharma
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using Multilevel nesting in struts 2.0.

ActionForm has an ArrayList (STUDENTS) and inturn Students class has an another ArrayList SUBJECTS.

I am able to access and display both the ArrayList correctly on my JSP with iterate tags but when I submit back the form , I am getting only outer collection STUDENTS whereas the inner collection SUBJECTS is retrieved as Null.

There is no exception/error in the application and its working fine except that UNABLE TO RETRIEVE THE VALUE OF INNER COLLECTION.

Does anyone has an idea how to retrieve the inner collection in Multilevel nesting in Action on form submit.

Thanks in Advance
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!