Look great to me. I am just wondering how sessionScopeVar is working? Is it
like the "var" argument in JSTL?

By the way, what I like about this approach is that we don't have to hide
everything behind JSF components. I was wondering why I would need to write
a list component while in fact a list or a table is just a specific use of a
forEach component. It will allow developpers to develop simple components
quickly just by reusing basic building blocks :) That was a big weakness of
JSF in my mind to always have to write code to develop new components. So
great job! I love this feature.

By the way, maybe you should consider in your design that some more logic
components might be add in the future (I don't know how many Tapestry has
but it should give us a good estimation). So I guess putting that in
ClayAmalgam is fine for the moment but it can become bloated over time. Just
my two cents.

On 12/3/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
> 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
>



--
Alexandre Poitras
Québec, Canada

Reply via email to