question on object that extends AbstractList<E>
jake ochs <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <31005296.242206.1271439080344.JavaMail.jakeochs@mail.srv.cftnnj.cv.net> |
I have a custom object that extends AbstractList<E> (E, in my case, is a Lotus Notes Document object wrapper.) I also want to implement methods in my custom object that return SimpleSequence values. i.e., in addition to requesting of my object an element in the AbstractList of Notes Documents I want to ask the object to lookup specific values and return them as SimpleSequences. The problem is that when trying to access the methods from FTL, I throw the error "Expected hash. <<objectname>> evaluated instead to freemarker.template.SimpleSequence..." How do I work around this? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev