> -----Original Message----- > From: Adam Lipscombe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 21, 2004 5:53 AM > To: 'Struts Users Mailing List' > Subject: logic:iterator with a arbitrary depth of nested list > > > Folks, > > > Is it possible to use a logic:iterate tag with an arbitrary > depth of nested > lists. > i.e. A List containing Lists, each of which contains a List (etc) > > The depth of the tree will vary at runtime.
I don't know. I would tend to think tha if it did, it would be a by-product of functionality or possibly a bug. It wouldn't surprise if it did work though, just not sure why or for how long. I would suggest doing some setup in the action class first, to make the display pieces job easier. (That's my stock answer to complex display issues, since that's a good use of actions.) I would also look at how various javascript tree builders work, and use them to do the actual display etc. Depending on which js you use this could make it very easy. Don't forget that you can use JSP to build the js on the fly if you need to. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]