We tried to use recursive components for a menu-structure.

In the end we limited our self to a maximum depth for the menu and now use 3 components which are nearly equal:

TopMenu
SubMenu
SubSubMenu

Not a clear solution but easy ;)


On 10.09.2010 12:08, Elin wrote:
Im making a component for rendering my categories tree but i have seen that i
cant use recursive components (calling themselves not even indirectly) so,
any advice about how to do this (your own ideas or something u have read
around)?


Example:



Coffee

Tea



Black tea

Green tea




Milk



Thx in advance


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to