Nested tags with tiles inclusion, can get you on the road.

-----Original Message-----
From: Chaikin, Yaakov Y. [mailto:[EMAIL PROTECTED]
Sent: woensdag 27 oktober 2004 17:55
To: StrutsUser (E-mail)
Subject: Recursive iteration


Hi,

I am hoping there is a simple way to do this, but can't find anything in the
docs. I have an object that has a "has-a" relationship with itself.
Basically, it's like a folder explorer, i.e., a folder can have one or more
folders under it. Each of those folders can have one or more folder under
them and so on.

I need to dynamically display all the folders starting from the root.

I looked into the logic:iterate, but it seems it only supports looping
through top level collection. I need to recursively go through the entire
collection.

Does anyone know how to do this using struts/jstl tags?

Thanks,
Yaakov.

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



STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole use of the 
intended recipient. Any review or distribution by others is strictly prohibited. If 
you are not the intended recipient please contact the sender and delete all copies.

Ce Message est uniquement destiné aux destinataires indiqués et peut contenir des 
informations confidentielles. Si vous n'êtes pas le destinataire, vous ne devez pas 
révéler le contenu de ce message ou en prendre copie. Si vous avez reçu ce message par 
erreur, veuillez en informer l'expéditeur, ou La Poste immédiatement, avant de le 
supprimer.

Dit bericht is enkel bestemd voor de aangeduide ontvangers en kan vertrouwelijke 
informatie bevatten. Als u niet de ontvanger bent, dan mag u de inhoud van dit bericht 
niet bekendmaken noch kopiëren. Als u dit bericht per vergissing heeft ontvangen, 
gelieve er de afzender of De Post onmiddellijk van op de hoogte te brengen en het 
bericht vervolgens te verwijderen.

Reply via email to