I did both of those. But for some reason I still can't get to my data.
I've created an inner class inside the class that mirrors my page, I made it implement Serializable and I created getters and setters for the fields. Now, I create an instance of that class for every row, stuff it inside my List and put that list inside the setDataItems(). The only problem is, I am now seeing Serialization errors, as in, it can't send the data from the bean to the page. Btw, I am basing this code on this tutorial: http://weblogs.java.net/blog/johnreynolds/archive/2004/10/learn_by_teachi_1.html On 5/23/06, Barry Books <[EMAIL PROTECTED]> wrote:
Most likely you did not specify your page implements PageBeginRenderListener (sp), but I think it's better just to declare a method public List getDataItems and put you query code in there.
-- Cumprimentos, Rui Pacheco