FTL (Freemarker) is a templating engine: basically, no logics like that, only
view / iterations / if ...
You can use javascript for that, or directly a Java method
(response.addCookie..) ..
e.g:
[#assign myCookieValue = "cookieValue"]
[#assign myCookieName = "cookieName"]
<script>
document.cookie="${myCookieName}=${myCookieValue}";
</script>
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=0e96f3a7-d030-4d57-84c1-773667bf70f3
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------