Bert Van Kets dijo:
> Antonio,
> thanks for the help.
> The funny thing is everything worked fine getting one record. I used the
> ojb sample and modified that to use my database and table.
> I then tried to modify the bean and DAO class to return a collection
> instead is strings and integers so I can build a list instead of
> a simple record.
> The Collection is filled with classes of the same structure as the
> original
> bean. I also modified the repository.xml file to point to the new class
> instead of the bean.

Hmm. I think it is not a good idea to have a list as a bean in the
repository.xml. My approach is similar as yours but in the repository.xml
there are beans not lists of beans.

> Of course the form was adjusted to accept the Collection and return the
> different records.

> When I fill the Collection manually the form works fine.
>
> I checked all the variable types and can not find anything wrong. :-/

It is still not working? Please review the above hint.

>
> AFAIK There is no example of a database filled list Woody form using flow.

You can define a BeanList that you will fill with an iterator. This
BeanList can be retrieved from the flow. Then use "CForm binding
framework" to pass the list to a woody repeater. This will work.

Best Regards,

Antonio Gallardo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to