Re: [struts] [S2] Recursive s:iterate

2007-11-14 Thread Dave Newton
I did something similar with tiles that included
themselves; I suppose regular old includes would work
as well.

d.

--- Chris Pratt [EMAIL PROTECTED] wrote:

 On Nov 13, 2007 10:51 PM, Dale Newfield
 [EMAIL PROTECTED] wrote:
 
  Chris Pratt wrote:
   I have an folder hierarchy that I'm trying to
 display on a web page,
   but I can't figure out how to get s:iterate
 (or c:forEach) to work
   with a structure of unknown depth.  Does anyone
 know of a technique
   that would allow this?
 
  Create a .tag file that (conditionally) calls
 itself?
 
 
 Great idea, and it's an excuse to try my first .tag
 file as well.
 Thanks for the idea.
   (*Chris*)
 

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


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



[S2] Recursive s:iterate

2007-11-13 Thread Chris Pratt
I have an folder hierarchy that I'm trying to display on a web page,
but I can't figure out how to get s:iterate (or c:forEach) to work
with a structure of unknown depth.  Does anyone know of a technique
that would allow this?
  (*Chris*)

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



Re: [struts] [S2] Recursive s:iterate

2007-11-13 Thread Dale Newfield

Chris Pratt wrote:

I have an folder hierarchy that I'm trying to display on a web page,
but I can't figure out how to get s:iterate (or c:forEach) to work
with a structure of unknown depth.  Does anyone know of a technique
that would allow this?


Create a .tag file that (conditionally) calls itself?

-Dale

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



Re: [struts] [S2] Recursive s:iterate

2007-11-13 Thread Chris Pratt
On Nov 13, 2007 10:51 PM, Dale Newfield [EMAIL PROTECTED] wrote:

 Chris Pratt wrote:
  I have an folder hierarchy that I'm trying to display on a web page,
  but I can't figure out how to get s:iterate (or c:forEach) to work
  with a structure of unknown depth.  Does anyone know of a technique
  that would allow this?

 Create a .tag file that (conditionally) calls itself?


Great idea, and it's an excuse to try my first .tag file as well.
Thanks for the idea.
  (*Chris*)

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