[xwiki-dev] A way to get a cookie value with velocity syntax ?
EMPTOZ Mathieu 310507
Mathieu.EMPTOZ at cea.fr
Mon Feb 19 16:27:05 CET 2007
Hello everybody,
Is there a way to get a cookie value with a function of the velocity
syntax? I created a cookie with the javascript "createCookie()" function
(in the file skins.js) and I would like to get it value in a velocity
script in order to insert it in a sql query. Because I need to get the
cookie value before the velocity parsing.
For example in my wiki page :
#set($sql = " where doc.fullName =
'$a_function_which_read_a_cookie_value(name_of_the_cookie)' ")
Regards, Mathieu
---------------------------------------------------
Mathieu Emptoz
CEA Cadarache
DRFC/STEP
XWiki's EFDA Remote Participation Administrator
---------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/devs/attachments/20070219/2c5235a6/attachment.html
More information about the devs
mailing list