Hi All,
I rewrite my AuthenticationModule for my login process and I tried to put some
parameter in the object called MgnlContext with the following istruction :
MgnlContext.setAttribute(key, value);
When I try to retrieve this parameter in one of my ftl page with this
istruction : ${ctx.getAttribute(key)!"nothing"}
I obtained only a null.
What I'd like to know if there is a way to pass parameters from the login
module to the pages and in general to the Form Processor. I mean something like
a session object, or and object that stays alive during the entire execution
of Magnolia. Actually If I take a look to MgnlContext in Login Module is a
diffentent istance of the one I can catch in a FormProcessor of my form. It
seems that after the loggin process the Context is reinitialized.
What's your suggestion about?
Thank you in advance for your help
Regards from Milan.
Alberto
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=8f5b9728-a3a8-44eb-ac08-a97e358565e2
----------------------------------------------------------------
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]>
----------------------------------------------------------------