velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wgl...@forio.com>
Subject Re: syntax issue
Date Mon, 22 Aug 2005 15:27:53 GMT
Personally,

$name.firstName

has always seemed the most readable to me.  But do what seems right to you. 
The flexibility to access properties or methods is one of Velocity's 
strengths.

WILL

----- Original Message ----- 
From: "Bayarsaikhan VOLODYA" <bayarsaikhan@gmail.com>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Monday, August 22, 2005 4:34 AM
Subject: syntax issue


Hi all,

which syntax is more suitable (or will not be deprecated) preferrable than
the other one?

${name.firstName}
or
$name.firstName
or
$name.getFirstName()

thanks in advance.

-- 
Bayarsaikhan VOLODYA


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