How to get the list of ftl files and their macros used to render the current ftl

Albert Kam <[email protected]> Sat, 12 Apr 2014 09:06:42 +0700
Newsgroups gmane.comp.web.freemarker.user
Message-ID <CAMT20g85J_C=U3MLBfb0U+nhNFf-Y4FK-oiykNDJk6vN-W_X9w@mail.gmail.com>
For example, in my current ftl, albert.ftl, is making use of several other
ftls, like :
layout.ftl, util.ftl, and other ftls that are imported but not necessarily
used.

Both layout.ftl and util.ftl also have many utility macros, and for
albert.ftl, i'm just using several like <@layout.layout>, or
<@layout.announcement>, or <@util.mybutton>, etc.

Is there any way that in my albert.ftl,  i can 'print out' the content of
the ftl macros that are actually used ? And whether i can get the full
filepath to the ftl, so i can save the changes i make.

I'm hoping to achieve easy 'view and edit ftl source' to help me with
applying i18n on uni18n-ed texts, and to quick fix mistakes in the
production environment without having to ssh+vim on the server.

Regards from Jakarta,
Albert Kam

-- 
Do not pursue the past. Do not lose yourself in the future.
The past no longer is. The future has not yet come.
Looking deeply at life as it is in the very here and now,
the practitioner dwells in stability and freedom.
(Thich Nhat Hanh)

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees

_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user