Antonio Ordoñez wrote:
Hallo everybody.

My question is about how could I implement a recursion in tapestry 5?
Tapestry does not support recursion. It's a pity, especially for your very use case, but according to Howard, it's a design choice that brings simplicity, scaling possibility and other good things.

So, you will have to change your recursion to an imperative loop. Fortunally, it's simple enought for a tree component (you can find an example here : http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/interldap/interldap-wui-common/branches/wui-common/src/main/java/org/interldap/wui/t5lib/components/Tree.java?rev=389&view=markup Be carefull, it was for a very old version of T5 (perhaps 5.0.6 or so, and I believe a lot of thing are simplier now).

Hope it help,

--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org FederID - http://www.federid.org/
Open Source identities management and federation


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

Reply via email to