Hey Vlad,
Ok thanks for the info, I guess I will have to solve it in another way then!
Greets,
Roy
> On 28 Oct 2016, at 14:33, Vlad Bailescu wrote:
>
> Hi Roy,
>
> HTL does not allow arbitrary inclusion of scripts output. The scripts
> output for data-sly-include is appended
Hi Roy,
HTL does not allow arbitrary inclusion of scripts output. The scripts
output for data-sly-include is appended to the current element content. The
proper way to add attributes would be to use data-sly-attribute and provide
the attributes from a Use API object and not from an external
To clarify further, because a part of the script was missng:
I am doing > The following output is
created (see the wrongly put sly tag):
data-analytics-page-id=“page id"
data-analytics-page-type=“page-type"
Greetings,
Roy
> On 28 Oct 2016, at 13:39, Roy Teeuwen
Hey all,
When using HTL, how does one include attributes in a div when it’s coming from
another script? In jsp we would be able to do it like the following:
>
This doesn’t seem possible in sightly in a way I can find?
Greetings,
Roy