Re: How does one analyse a FreeMarker template??
Tom Fennelly <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Yeah... can't take the risk of doing that Guo... it will too likely result in security exceptions!! Thanks for the suggestion. Guo Du wrote: > On Tue, Nov 10, 2009 at 11:50 PM, Tom Fennelly <[email protected]> wrote: > >> FreeMarker template. The TemplateElement (and its implementations) >> returned from the Template.getRootTreeNode() would be perfect for what I >> want, accept that all the interesting data they have is private and not >> exposed via getters - see the IteratorBlock and DollarVariable classes. >> > > You could use reflect api to get the field event it's private. It's > kind of hack instead of proper solution anyway :( > http://tutorials.jenkov.com/java-reflection/private-fields-and-methods.html > > -Guo > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > FreeMarker-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freemarker-user > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july