Re: Generics and Freemarker model

"krishnan.1000" <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Thanks for the help. It worked. 

Attila Szegedi-3 wrote:
> 
> FreeMarker doesn't care about the generics type of the lists and maps.  
> It works with either generics container types or raw container types,  
> so you can use any.
> 
> Attila.
> 
> On 2008.03.23., at 2:21, krishnan.1000 wrote:
>>
>> Hi ,
>>
>> I am  trying to use freemarker template to load the ftl file. I am  
>> trying to
>> load 4 java.lang.String objects and the List<String> into the  
>> template file.
>> My question is when I am populating the HashMap<String, Object> with  
>> the
>> appropriate values. I am new at generics and freemarker so I hope  
>> this is
>> not a silly question. Is this a right way to use generics with the  
>> domain
>> model hash map? Hoping for a reply?
>>
>> Thanks,
>>
>> Krishnan
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user
> 
> 

-- 
View this message in context: http://www.nabble.com/Generics-and-Freemarker-model-tp16230217p16291391.html
Sent from the freemarker-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.