AnsweredAssumed Answered

Global variables in Share

Question asked by fast3r on Apr 1, 2010
I'm sorry, this is a very dumb question.

I need to pass a "global" variable to be read from one ftl to others, related to all Share pages of the user session or, at least, in the same Share page.
This variable needs to be set in header.get.html.ftl.

I tried with
<#global name="value">

and (from the .get.js file)

context.properties["name"]="value";
page.properties["name"]="value";

but I can't read this variable from other FTLs!
How can I do this?

Thank you

Outcomes