velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravikanth.L" <>
Subject Re: constructing variable names dynamically
Date Wed, 25 Aug 2004 13:10:30 GMT
Hi Shinobu Kawai,

 Thanks for your code. I think I have some syntax

i tried with the following code

 \\ in my java code 

 i want to create a variable with name $name and its
value should be "Ravi"

\\in my template i tried like this:
 render.recurse("#set($$element = $elementValue)")
 Hello $name // as my template already using $name to
display name.

I tried with eval function also. No luck. 

Could you please correct me.

With Regards,

Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage! 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message