Requesting support for current_macro_name special variable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Requesting support for current_macro_name special variable

Albert Kam
Hello,

Would it be possible to add current_macro_name, just like the current_template_name, to the special variable list ?

For those who needs the reference: http://freemarker.org/docs/ref_specvar.html

In my use case, some string values within the macro is always the same as the macro name, and i'd like to avoid keeping them in sync.

Thank you,
Albert

--
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)

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
FreeMarker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freemarker-user