velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kelly.muniz" <kmu...@cisco.com>
Subject RE: objects with properties
Date Fri, 11 Apr 2003 23:58:21 GMT

Thanks for the information, I look forward to this enhancement.

> -----Original Message-----
> From: Nathan Bubna [mailto:nathan@esha.com]
> Sent: Friday, April 11, 2003 2:17 PM
> To: Velocity Users List
> Subject: Re: objects with properties
> 
> 
> kelly said:
> > I noticed that creating objects with properties in velocity is not
> > supported.  For example:
> >
> > #set( $obj.name = "name" )
> > #set( $obj.lastname = "lastname" )
> > #set( $obj.age = 22 )
> >
> > $obj.name, $obj.lastname ( $obj.age )
> >
> > Will this be supported sometime in the future?
> 
> nope, not as you describe.  this is not javascript.
> 
> however, velocity will hopefully support creating hashmaps in the
> not-too-distant future.  a patch has been submitted and was generally
> approved.  it's just waiting on developer action.  just search 
> the dev-list
> archives for more on the subject of map support.
> 
> Nathan Bubna
> nathan@esha.com
> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message