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", Boolean.TRUE.toString(),
Context.SESSION_SCOPE);
[/code]
but in my Freemarker template, I have no idea why it does not show. I already
tried:
[code]
${session.loggedInStr}
${ctx.session.loggedInStr}
${ctx.request.session.loggedInStr}
${ctx.request.session['loggedInStr']}
[/code]
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=64a40797-9825-49f7-aebf-f0f09796ecf7
----------------------------------------------------------------
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]>
----------------------------------------------------------------