Jon Scott Stevens <[EMAIL PROTECTED]> writes:

> on 2002/10/29 6:03 PM, "James Taylor" <[EMAIL PROTECTED]> wrote:
> 
> > #set ( myMap = [ "key1" : $value1, "key2" : $value2 ] )
> 
> I can be +1 on this...but...
> 
> What is wrong with:
> 
>     $myMap.add("key1", $value1)

>From James' perspective, I assume the fact that you can't instantiate
new ones from a template without putting a tool into the context
(while you can for a list using the #set ($l = []) syntax).  James,
that's the usual answer for people wanting new features, btw.
-- 

Daniel Rall <[EMAIL PROTECTED]>

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

Reply via email to