On Mon, 14 Jan 2008 17:50:27 +0300, rssh wrote
Good day.
Sorry for stupid question. $request.getHttpServletRequest().getSession().setAttribute("X",$request.get("X")) and then #set($X=$request.getHttpServletRequest().getSession().getAttribute("X")) do the trick. So, yes, XWiki can be good programming platform ;)
Yet one question - I can't find way to pass parameters from one screen to another. In JSP this is usually doing thought session- scope variables. Are exists some analog in XWiki ?
I.e. let I have page A and receive in one request with parameters. Than I want forward such request (with parameters) to page B.
I can't find the way to do this: if in A before redirect I write $context.put("X","Y"), than in B $context.get("X") return nothing.
May be I need care about passing some sessionId ?
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua