Yes, it could.  However, in the example as below, it's
completely a rendering issue, and therefore, the controller
should not be placing that kind of thing in the context, as
it's completely up to the view creator to decide those things.
It should be available to be instantiated from the view.

-----Original Message-----
From: Konstantin Priblouda [mailto:[EMAIL PROTECTED]
Sent: Monday, May 03, 2004 10:22 AM
To: Velocity Developers List
Subject: RE: Foreach cycle



--- "Inger, Matthew" <[EMAIL PROTECTED]> wrote:
> Why not just have a directive for this, as it's
> probably
> a common functionality (similar to what webmacro
> does)
> 
> #alternate ( $color through [ "red", "blue" ] )

This can be achieved by simple bean placed in context.

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------


        
                
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

---------------------------------------------------------------------
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]

Reply via email to