Extending List types in template data model objects

Rebecca Younes <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <C948A6E5.251B%[email protected]>
Hello,

I would like to create a Java class that extends ArrayList by adding some public methods for access in a Freemarker template. However, Freemarker treats this as a SimpleSequence and allows access to the list members by index, but throws an error when the template invokes a method on the object. Is there any way to do this?

Rebecca Younes

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl

_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user
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.