Skip to Content
0
Mar 18, 2015 at 01:20 PM

ZTL Reference?

194 Views

Hello All,

I am trying to wrap my head around the syntax and capability within a component's ztl file. I've played around with it a bit and it seems to be a javascript implementation - objects/methods such as JSON.parse(), etc... are there. It's certainly more fully featured than BIAL. Should we assume that it is some flavor of ECMAScript?

Is it possible to create shared .js or .java libraries/classes which can be referenced within multiple ztl's?

Is there some object which contains the design studio application components within - I'd very much like to dynamically reference components, something like:

window['APPLICATION']. instead of APPLICATION.

or

datasources['DS_1']. instead of DS_1.?

Thanks.