Thank you everyone.
$request.get(“param”);    works
Thanks

From: Denis Gervalle-2 [via XWiki] 
[mailto:[email protected]]
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-tp7587226.html
> > > 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-tp7587226p7587236.html
To unsubscribe from Reading Get/Post variables from url, click 
here<http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7587226&code=cHJhY2hpLm1haGVzaHdhcmlAbmV0Ym9zcy5jb218NzU4NzIyNnwtMTQ2MzgyNjU3Nw==>.
NAML<http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Reading-Get-Post-variables-from-url-tp7587226p7587244.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to