Hi, On Aug 20, 2012, at 8:31 PM, Eugene Colesnicov wrote:
For Vincent Massol & Ray Ye Can you present more detailed example about using $request (HttPServletRequest) especially in velocity scripts?
I've updated the page: http://platform.xwiki.org/xwiki/bin/view/DevGuide/SavingData Hope it helps, -Vincent
On Mon, Aug 20, 2012 at 6:24 PM, ray ye <[email protected]> wrote:
Thanks Vincent. I just found out $request (HttPServletRequest) is available in velocity script. From $request, we can get HttpSession to store session data.
Regards, Ray
On Mon, Aug 20, 2012 at 3:02 PM, Vincent Massol <[email protected]> wrote:
Hi,
On Aug 20, 2012, at 7:23 AM, ray ye wrote:
Question: how to save user data across multiple requests, we are trying to customize XWiki Enterprise VERSION 4.1.3 Tried: xcontext.put(key, value) , but doesn't work. it only saves data within the same request .
I've just created the following documentation for you: http://platform.xwiki.org/xwiki/bin/view/DevGuide/SavingData
Hope it helps, -Vincent
Any suggestion is highly appreciated.
Thanks,
Ray