Hi,

 I am very new to this velocity framework. Could
anyone please let me know how to dynamically create
variables and use them.

 The scenario is:

  I have an object in context which will give the
names of all variables and a hashmap with this
variable name as key and value. I already have a
template which is using the variable names. I need to
dynamically construct the variables and set it to
context( in template only not from java) so that, the
tempalte can use it.

 for eg:
    $elementList contains a arrayList of all Element
object from which I can get the name of the element
and
I should be able to create a variable using #set for
that element and assign the value from the hashmap
object.

 Any suggestions are welcome.

With Regards,
Ravikanth.L
  


                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to