So, I'm trying to use a DataView so I can page a collection of objects
from a session bean.

I create the List collection (loadingModel) and pass it into the DataView:

DataView productsDataView = new DataView("productsDataView", loadingModel)

...but I'm getting an exception at runtime:

"Caused by: java.lang.ClassCastException: java.util.ArrayList"

I assume then, it's not like the ListView in that it will not take a
List directly?  Or, have I done something wrong?

Thanks!

Reply via email to