Re: Calling #Macro Recursively
firoza <[email protected]> Thu, 23 Oct 2014 23:34:52 -0700 (PDT)
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Also all the fields are in public class. But these fields are private and we have public getter and setter methods for each field. I think that is the java bean standard and won't be an issue. Children field is initialized to empty collection by default but hierarchy field is not initialized so it will take null default value. So I am checking for null for hierarchy and for null for its children before calling the macro. Firoza -- View this message in context: http://freemarker.624813.n4.nabble.com/Calling-Macro-Recursively-tp626735p4655308.html Sent from the freemarker-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------