velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claude Brisson <cla...@renegat.net>
Subject Re: Problems with ViewRenderTool
Date Fri, 10 Dec 2004 21:26:54 GMT
On Fri, 2004-12-10 at 22:14, Nadesan, Binu wrote:

> The problem lies with the statement $render.eval("$e.$text")
> 
> Here $e is an object and $text contains a string value that is a property of
> the object.
> 

try with :

$render.recurse("$e.$text")

because what you really want is eval(eval("$e.$text"))

Claude




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