For Vincent Massol & Ray Ye
Can you present more detailed example about using $request
(HttPServletRequest) especially in velocity scripts?
On Mon, Aug 20, 2012 at 6:24 PM, ray ye
<ray.ye(a)ddaysoft.com> 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 <vincent(a)massol.net>
> 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