0 Replies Latest reply: May 22, 2007 7:01 PM by Mark Spritzler RSS

Objects scoped to PAGE throws NPE with datascroller

Mark Spritzler Apprentice

So I have two Lists scoped to PAGE, one for creating a dataList, and one for a DataTable. I also have a DataScroller for the DataTable.

When I click on the Next page in the DataScroller I get a NPE.

When the two lists are re-scoped to SESSION it works.

However, these lists are only used on this PAGE and scoping it to SESSION might cause it to have values in it when rendering for a different page, when it should be null or empty.

Thanks