Thank you everyone.
$request.get(“param”); works
Thanks
From: Denis Gervalle-2 [via XWiki] [mailto:ml-node+s475771n7587236h47@n2.nabble.com]
Sent: Tuesday, September 24, 2013 5:47 AM
To: Prachi Maheshwari
Subject: Re: Reading Get/Post variables from url
On Tue, Sep 24, 2013 at 10:02 AM, Valdis Vītoliņš <[hidden
email]</user/SendEmail.jtp?type=node&node=7587236&i=0>>wrote:
In short:
$request.getParameter('param')
In shorter: :)
$request.param
PS: Your question is appropriate for the user list, the devs list is about
the development of XWiki itself. See
http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists. Thanks.
Valdis
Hi,
You have access to the request from velocity and groovy, check for
$request
in scripting reference [1].
[1]
http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation
Br,
Jeremie
Le 23 sept. 2013 20:52, "prachi maheshwari" <
[hidden
email]</user/SendEmail.jtp?type=node&node=7587236&i=1>>
a écrit :
> Hey everyone,
> I wanna read and access the variables passed in url in Velocity on
> different
> Xwiki Pages. Please suggest me a method. I have tried something in
groovy
> and velocity but I want to use only one
macro/language for it.
> Thanks
>
>
>
> --
> View this message in context:
>
http://xwiki.475771.n2.nabble.com/Reading-Get-Post-variables-from-url-tp758…
Sent from
the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7587236&i=2>
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7587236&i=3>
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7587236&i=4>
http://lists.xwiki.org/mailman/listinfo/devs
--
Denis Gervalle
SOFTEC sa - CEO
eGuilde sarl - CTO
_______________________________________________
devs mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7587236&i=5>
http://lists.xwiki.org/mailman/listinfo/devs
________________________________
If you reply to this email, your message will be added to the discussion below:
http://xwiki.475771.n2.nabble.com/Reading-Get-Post-variables-from-url-tp758…
To unsubscribe from Reading Get/Post variables from url, click
here<http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=un…gyNjU3Nw==>.
NAML<http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=ma…
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Reading-Get-Post-variables-from-url-tp758…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.