using includes inside a macro?

S Ahmed <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <CAG2rwuO+Lnm9mTUjLTtH+ECi-ayCgEUqANxdW0_ivZKEcUhFEA@mail.gmail.com>
Is it possible to have includes in a macro?

My macro has a varialbe isSignedIn which is defaulted to false.

I want to include 2 other templates, both are navigation html elements, 1
for logged in users and the other for not.

So depending on the isSignedIn flag, I want to display a specific include.

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

_______________________________________________
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.