• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Velocity] HashMap<String, ArrayList<String>

 
Christoph Glass
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

in java it is possible to create a HashMap<String, ArrayList<String> like this (pseudo code, not tested):

Is it possible to do the same in a velocity template?

I found some sites regarding to this
* http://old.nabble.com/Define-Arraylist-td7278200.html
* http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html#directives
but i dont get the trick.

Any help would be appreciated.

Thank you very much and best regards
Christoph
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic