velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charlene Mitchell <charlene...@yahoo.co.uk>
Subject Re: hash map or equivalent possible
Date Wed, 18 Dec 2002 16:52:59 GMT
Hi,

Thanks for the quick reply.

Can you tell me a bit more about the "experimental map
creation syntax"?

Thanks

Charlene

 --- "Geir Magnusson Jr." <geirm@adeptra.com> wrote: >

> On Wednesday, December 18, 2002, at 11:35 AM,
> Charlene Mitchell wrote:
> 
> > Hi,
> >
> > In my Velocity template I need to keep a track of
> > whether or not a value has been seen before.
> >
> > Traditionally I guess I would use a HashMap and
> check
> > if the key has been set previously.
> >
> > How can I do that in Velocity?
> 
> Use a HashMap and check if the key has been set
> previously :)
> 
> >
> > I'm using a 3rd party tool which uses Velocity -
> so
> > I'm unable to go in and change the Java code, I
> only
> > have access to write velocity templates.
> 
> Well...  Well have an experimental map creation
> syntax in 1.5, but you 
> probably don't want to bet on using that.
> 
> Can you get this 3rd party tool to add things to the
> context for you?  
> What tool?
> 
> 
> -- 
> Geir Magnusson Jr                                  
> 203-355-2219(w)
> Adeptra, Inc.                                      
> 203-247-1713(m)
> geirm@adeptra.com
> 
> 
> --
> To unsubscribe, e-mail:  
>
<mailto:velocity-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:velocity-user-help@jakarta.apache.org>
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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


Mime
View raw message