On Thu, 22 Apr 2010 19:36:11 -0300, Pierce T. Wetter III <pie...@paceap.com> wrote:

 Menus are inherently recursive.
To avoid problems with Tapestry and recursion, I figured out I could setup things this way, if the currentMenu has a list of its ancestors:

For anything recursive, the best way of implementing it is to create a component that uses a MarkupWriter to generate HTML instead of using a template.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to