Re: [Freemarker-user] macro override
Guo Du <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ 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