Discussion

Saving the page list in to Data table

Hi I need to save the page list in to the data table. I followed the following steps and, I got null pointer exception 1) Created a activity and iterate the page list 2) Each iteration another activity is called 3) In that activity step page pageName.PageListName(<APPEND>) and Obj-save method is called Please guide me what is the problem with the above steps, how to save(append)the page list value in to the data table.

***Updated by Moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

February 26, 2009 - 6:42am

Hi,

Why are u specifying pageName.PageListName(<APPEND>) in the step page of the called activity,you can just give the pagename.pagelistname that might be enough.

The other method is,in the calling activity the step where are u are calling the other activity just check the pass current paramater page.And steppage in the obj-save is not required.

Hope this might work.

Cheers,
Venkata Suman.

February 27, 2009 - 12:12am

Thanks venkata suman

I found the solution,
we cant save the entire page list at a time using obj-save method.
Need to iterate the page list and pass the index to save the data.
pageName.PageListName(param.pyForEachCount) - page
pageName.PageListName - property (Page List)