aspose file tools*
The moose likes Other Application Frameworks and the fly likes [Velocity] HashMap<String, ArrayList<String> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "[Velocity] HashMap<String, ArrayList<String>" Watch "[Velocity] HashMap<String, ArrayList<String>" New topic
Author

[Velocity] HashMap<String, ArrayList<String>

Christoph Glass
Greenhorn

Joined: Mar 18, 2010
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Velocity] HashMap<String, ArrayList<String>
 
Similar Threads
validate a bean property in struts 2 using Xwork framework
struts 2 pushing bean with indexed properties problem
Accessing a beanList Returned from JSP
Using Generics, HashMap with two different objects as Keys
hashtable of arraylists