Le jeudi 03 mai 2007 à 10:27 +0200, Francois Armand a écrit :
> Hello everybody,

> So, my question is : is there a way of implementing recursive
> component ? If not, is there an existing component implementing a
> non-recursive tree walk ? And if not, have you some advices about doing
> such a component in T5 (say I know an algorithm for non-recursive tree
> walk, what are the best practice in T5 ?)
> 

Ok, I found that :
http://tapestry.apache.org/tapestry5/tapestry-core/guide/dom.html and I
can render my tree with ul/li tags thanks to MarkupWriter.

But now, I want to add "actionlink" around each node content (the string
enclosed by <li> tags). How can I do that ? I think I can copy the code
from ActionLink, but perhaps there is a better method (well... Now that
I begin to play with MarkupWriter, I certainly have to use it for
everything...).

Any advice would be appreciated :)

Francois


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

Reply via email to