Skip to content

Instantly share code, notes, and snippets.

View arvindm1's full-sized avatar

Arvind Mishra arvindm1

View GitHub Profile
@arvindm1
arvindm1 / liferay-7-wcm-adt-dump.ftl
Created November 24, 2015 22:04 — forked from jamesfalkner/liferay-7-wcm-adt-dump.ftl
A simple utility template to dump all available Liferay 7 WCM/ADT variables and their values.
<#-- dump.ftl
--
-- Generates tree representations of data model items.
--
-- Usage:
-- <#import "dump.ftl" as dumper>
--
-- <#assign foo = something.in["your"].data[0].model />
--
-- <@dumper.dump foo />