Document Lists...

Hi there,

I'm trying to use a document list as follows:

3 documents in the pool (d1, d2, d3) 1 documentlist docs in the pool 3 widgets all working ok for the three documents (d1, d2, d3)

in my submit action I have

list dl = new ArrayList();

dl.add(d1); dl.add(d2); dl.add(d3);

return dl;

where return is pointing at the docs documentlist in the pool.

But I get an error suggesting documetns cannot be mapped to a list the way I'm doing it...