On Thu, May 10, 2012 at 9:48 AM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
  Hello,
 how is it possible (I presume it is) to access parameters in a URI? The
 xwiki API describes methods to encode and decode URIs (namely encodeURI and
 decodeURI). I suppose I can access it via the Request object (XWikiRequest;
 
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
 ki/web/XWikiRequest.html), but got no clue how.
 E.g. I would like to pass a boolean param by calling the URI
 http://<mydomain>/xwiki/bin/view/Main/WebHome?bool=true and access it in
 velocity code.
 Anyone has an idea how to proceed or a link to an example? 
You can access the
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
object using $request in Velocity (or "request" mapping in general in
all other languages).
 Thx and bests,
 Moritz
 _______________________________________________
 users mailing list
 users(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/users 
--
Thomas Mortagne