30 Apr
2008
30 Apr
'08
6:23 p.m.
Hello Devs, Is it possible to use $context.put in the following way: $context.put("space","Main") where space is the key and Main is the value of Space and then retrieve it using $context.get("space") on any page in xwiki! I tried using it but did not work and did not throw any exception either. I am trying to simulate login based on spaces in XWiki Enterprise and this information will be very helpful. Also, if I wanted to change the "function" that is called when a login form is submitted (loginsubmit action), where do I do that. Thanks