[magnolia-user] Re: Problem putting attributes in magnolia context

2015-10-23 Thread Mathias Lin (via Magnolia Forums)
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 --

[magnolia-user] Re: Problem putting attributes in magnolia context

2015-10-23 Thread Mathias Lin (via Magnolia Forums)
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