Oh well, I just found the problem.
It should be via the getAttributeMethod():
[code]${ctx.getAttribute("loggedInStr")}[/code]
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=64a40797-9825-49f7-aebf-f0f09796ecf7
--
I am having the same issue right now. Within my website, I am doing a ajax call
to a controller within the Magnolia application:
I tried both:
ServiceLoginController.java:
[code]
request.getSession().setAttribute("loggedInStr", Boolean.TRUE.toString());
MgnlContext.setAttribute("loggedInStr