Re: [Freemarker-user] macro override

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Monday, December 21, 2009, 12:37:27 PM, Guo Du wrote:

> On Sun, Dec 20, 2009 at 6:52 PM, Argyro Kazaki <[email protected]> wrote:
>> Halo all,
>>
>> I have two files, a.ftl and b.ftl and this is also the order in which
>> they are loaded.
> A work around if you do want both macro. By introduce c.ftl (see
> following sample code), then you include c.ftl instead of b.ftl in
> your main ftl.
>
> <@foo pojo /> <#--macro from a.ftl-->
> <#include "b.ftl">
> <@foo pojo /> <#--macro from b.ftl-->
>
> --Guo

How would this work?

-- 
Best regards,
 Daniel Dekany


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
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.