Em Tue, 04 Nov 2008 08:25:23 -0300, oliverlee000 <[EMAIL PROTECTED]> escreveu:

i am writing a unlimited level css tree menu for my project, i need to output the dl dd dt tags to my html, as i know, in order to support unlimitd level menu,need use recursion function, any way to achieve this by useing t5 component in tml?

Tapestry 5 does not allow recursive rendering of components. More information here: http://tapestry.apache.org/tapestry5/guide/rendering.html, section "Rendering components".

Instead of using recursion in the template, use recursion in the component's code: generate your menu using a MarkupWriter.

Why dl/dd/dt tags instead of ul/li? Just curious. :)

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to