Re: Calling #Macro Recursively

Daniel Dekany <[email protected]> Fri, 24 Oct 2014 10:21:58 +0200
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
There's some oversight there. Can you post a minimized and well
readable, but *actually executed* template and model class code, with
its output?


Friday, October 24, 2014, 8:34:52 AM, firoza wrote:

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

-- 
Thanks,
 Daniel Dekany


------------------------------------------------------------------------------