Re: [Freemarker-user] macro override
Guo Du <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Dec 21, 2009 at 4:12 PM, Daniel Dekany <[email protected]> wrote: > I don't think it addresses the original problem however. There after > you have "overridden" the macro, you should be able to call the > overridden one from the overriding one... Yes, I agree that there is no way to call the same macro inside the overrided macro. The trick could get the parent macro content, doesn't give you access to original macro. I wondering weather we can assign the parent macro to a new variable name dynamically? If we can, then we can assign a new name such as parent_foo could be invoked later in new macro foo. -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