Really, there's frameworks that make recursion in a JSP "easy"? I've been thinking of adding a Loop component, to complement Foreach. You could easily brew one up yourself.
----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Tapestry Developers" <[EMAIL PROTECTED]> Sent: Tuesday, October 01, 2002 12:20 PM Subject: Re: [Tapestry-developer] recursive rendering > hi, > > could you please give me a more concrete example? i'm new to tapestry - > i built some simple pages and components, but i'm not that comfortable > yet, and i dont really grasp how the bindings would look like in such a > recursive scenario... i would think displaying a tree is a fairly > common task (eg. folders, threaded discussion, categories, etc), so > someone must have done this before :) > > btw, so far my learning experience with tapestry is pretty good, but it > strikes me odd that certain things that used to be easy now seem > complicated.. (eg. a simple loop from 50 to 100, or a recursion, for > that matter :) i'm hoping that once i understand tapestry more, these > will become trivial... :) > > thx, > viktor > > On Tue, 01 Oct 2002 15:43:21 +0000, [EMAIL PROTECTED] said: > > I've thought about what you are trying, but never tried > > it out myself. > > > > Tapestry will keep track of the recursion; rendering in > > Tapestry is a tail-recursive operation (this will > > actually change in 2.3 which will use a queue instead of > > tail recursion). > > > > -- > > [EMAIL PROTECTED] > > > > http://tapestry.sf.net > > > hi, > > > > > > On Mon, 30 Sep 2002 22:05:11 -0400, "Howard M. Lewis Ship" > > > <[EMAIL PROTECTED]> said: > > > > > > > Block and RenderBlock are the way to go. > > > > > > > > > > so, do you mean something like this would work? > > > > > > <span jwcid="recursionBlock"> > > > <ul> > > > <li><span jwcid="insertValue"/> > > > <span jwcid="renderRecursionBlock"/> > > > </li> > > > </ul> > > > </span> > > > -- > > [EMAIL PROTECTED] > > -- > http://fastmail.fm - Access all of your messages and folders wherever > you are > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
