I created a ticket that demonstrates a dynamic subtree in a for loop. http://issues.apache.org/bugzilla/show_bug.cgi?id=37773
Please take a look to see if this would be sufficient. Gary -------------- Original message -------------- > On 12/3/05, Alexandre Poitras wrote: > > Yeah but this type of list is not supported unfortunately. I guess I will > > have to create a new display for the list component. > > > > But I still think forEach component is a must when you need to create a new > > component wich is just an aggreation of some other components.It's a good > > mean to provide an easy and fast way to developpers to create simple panels > > without having to write all the Java code and understand the JSF API > > necessary to create custom components. > > > > On 12/2/05, Craig McClanahan wrote: > > > > > > On 12/2/05, Alexandre Poitras wrote: > > > > > > > > Hi, > > > > > > > > I am wondering right now how is it possible to generate a dynamic data > > > > list component (dl) since no faces package offer it. First, I taught > > > > no problem, Clay solves this situation quite easily but right now I am > > > > stuck. I don't know how to make a loop to render all list elements. > > > > Tapestry offers the forEach component to solve this problem. Is Shale > > > > going to go this way too? Gary any suggestions? > > > > -- > > > > Alexandre Poitras > > > > Québec, Canada > > > > > > > > > The right long term answer to this kind of question would be to find a > > > JSF > > > Data List component that does what you want ... then, all you'd need to > > > do > > > is write the Clay definition for it. Doesn't Tomahawk (from MyFaces) have > > > a > > > component like that? > > > > > > Craig > > > > > > > > > > > > -- > > Alexandre Poitras > > Québec, Canada > > > > > > > I think there may be two issues being discussed here. > > Are we talking about a dynamic subtree based on a for loop, or static > subtree that is rendered multiple times? > > > Ryan