You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Bayarsaikhan VOLODYA <ba...@gmail.com> on 2005/07/15 08:34:16 UTC

Nested Loop?

Hi,

i wondered if i can do nested loop with foreach statement? foreach
inside foreach?
i know it can be done in JSTL.  how can i handle it in Velocity or can
Velocity do it?

--
Bayarsaikhan VOLODYA

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Nested Loop?

Posted by Will Glass-Husain <wg...@forio.com>.
Yes, I've done nested loops.  

----- Original Message ----- 
From: "Bayarsaikhan VOLODYA" <ba...@gmail.com>
To: "Velocity Users List" <ve...@jakarta.apache.org>
Sent: Thursday, July 14, 2005 11:52 PM
Subject: Re: Nested Loop?


No, i am just trying to decide migrating to velocity from jstl. before
migrating, i have to collect enough and consistent info(not 'it should
work', 'maybe work') what exactly i can do with velocity? it looks
cool but can i do everything and more which i could in jstl?

ANYONE TRIED NESTED LOOP?



On 7/15/05, Will Glass-Husain <wg...@forio.com> wrote:
> Did you try it?  That's often the quickest way to answer such questions.
> 
> Absolutely it should work.
> 
> WILL
> ----- Original Message -----
> From: "Bayarsaikhan VOLODYA" <ba...@gmail.com>
> To: <ve...@jakarta.apache.org>
> Sent: Thursday, July 14, 2005 11:34 PM
> Subject: Nested Loop?
> 
> 
> Hi,
> 
> i wondered if i can do nested loop with foreach statement? foreach
> inside foreach?
> i know it can be done in JSTL.  how can i handle it in Velocity or can
> Velocity do it?
> 
> --
> Bayarsaikhan VOLODYA
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 
> 


-- 
Bayarsaikhan VOLODYA

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Nested Loop?

Posted by Bayarsaikhan VOLODYA <ba...@gmail.com>.
No, i am just trying to decide migrating to velocity from jstl. before
migrating, i have to collect enough and consistent info(not 'it should
work', 'maybe work') what exactly i can do with velocity? it looks
cool but can i do everything and more which i could in jstl?

ANYONE TRIED NESTED LOOP?



On 7/15/05, Will Glass-Husain <wg...@forio.com> wrote:
> Did you try it?  That's often the quickest way to answer such questions.
> 
> Absolutely it should work.
> 
> WILL
> ----- Original Message -----
> From: "Bayarsaikhan VOLODYA" <ba...@gmail.com>
> To: <ve...@jakarta.apache.org>
> Sent: Thursday, July 14, 2005 11:34 PM
> Subject: Nested Loop?
> 
> 
> Hi,
> 
> i wondered if i can do nested loop with foreach statement? foreach
> inside foreach?
> i know it can be done in JSTL.  how can i handle it in Velocity or can
> Velocity do it?
> 
> --
> Bayarsaikhan VOLODYA
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 
> 


-- 
Bayarsaikhan VOLODYA

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Nested Loop?

Posted by Will Glass-Husain <wg...@forio.com>.
Did you try it?  That's often the quickest way to answer such questions.

Absolutely it should work.

WILL
----- Original Message ----- 
From: "Bayarsaikhan VOLODYA" <ba...@gmail.com>
To: <ve...@jakarta.apache.org>
Sent: Thursday, July 14, 2005 11:34 PM
Subject: Nested Loop?


Hi,

i wondered if i can do nested loop with foreach statement? foreach
inside foreach?
i know it can be done in JSTL.  how can i handle it in Velocity or can
Velocity do it?

--
Bayarsaikhan VOLODYA

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org