Hi,
Thanks for the reply. I am setting the variable in Magnolia's context in the
following way.
MgnlContext.setAttribute("userName", "Ram");
I am trying to get the value from Magnolia's context in component ftl as given
below:
<span> Welcome, ${ctx.userName!}-></span>
But it is not working. Is that right way or am i missing something?
Thanks,
Nirmal Sharma
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=edf56a83-8c83-48be-bf3d-8ab16d3dfe65
----------------------------------------------------------------
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]>
----------------------------------------------------------------