Re: Components containing dynamic number of component

2006-09-27 Thread Mael Caldas
Hi Jacob, I don't have any didactic example to explain this well, but you can do this like this: For each component, you create a model, or a object that each component receives and interact with him. So, you create a component that receives a List of Objects, iterating over then, and, depending

Re: Components containing dynamic number of component

2006-09-27 Thread jake123
Hi Mael, thank you for your answer. Have you done this your self? In that case can you share some example codes? It is much easier to understand how it should work if I can follow the code. thanks again, Jacob Mael Caldas-2 wrote: > > Hi Jacob, > > I Think you have to work on a model that rep

Re: Components containing dynamic number of component

2006-09-26 Thread Mael Caldas
Hi Jacob, I Think you have to work on a model that represents better your column... With the the For Component, and a little of polymorphism applied to components and its models you can do It easily. I don't think you have to work with AbstractComponent, RenderBody, or that kind of thing... A tip