Hey everyone, I am using $response.sendRedirect("http://<server>/abc?A=${A}&B=${B}) For redirecting onto another page. I also need to pass some variables from the url but this ain't working. Please help. Also, I am passing four to five variables and the url is getting broken and only passes value until a limit only. So, is there any kind of limit for the url length for xwiki specifically?? Also is there any other method for doing so?? -----Original Message----- From: devs-bounces@xwiki.org [mailto:devs-bounces@xwiki.org] On Behalf Of devs-request@xwiki.org Sent: Tuesday, September 24, 2013 8:00 AM To: devs@xwiki.org Subject: devs Digest, Vol 75, Issue 53 Send devs mailing list submissions to devs@xwiki.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.xwiki.org/mailman/listinfo/devs or, via email, send a message with subject or body 'help' to devs-request@xwiki.org You can reach the person managing the list at devs-owner@xwiki.org When replying, please edit your Subject line so it is more specific than "Re: Contents of devs digest..." Today's Topics: 1. Re: Reading Get/Post variables from url (Valdis V?toli??) 2. Re: While creating an new entry on a new application/ Editing the application (Marius Dumitru Florea) 3. Re: Reading Get/Post variables from url (Denis Gervalle) ---------------------------------------------------------------------- Message: 1 Date: Tue, 24 Sep 2013 11:02:10 +0300 From: Valdis V?toli?? <valdis.vitolins@odo.lv> To: XWiki Developers <devs@xwiki.org> Subject: Re: [xwiki-devs] Reading Get/Post variables from url Message-ID: <1380009730.2421.0.camel@vostro> Content-Type: text/plain; charset="UTF-8" In short: $request.getParameter('param') 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" <prachi.maheshwari@netboss.com> 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-ur l-tp7587226.html Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
------------------------------ Message: 2 Date: Tue, 24 Sep 2013 12:15:29 +0300 From: Marius Dumitru Florea <mariusdumitru.florea@xwiki.com> To: XWiki Developers <devs@xwiki.org> Subject: Re: [xwiki-devs] While creating an new entry on a new application/ Editing the application Message-ID: <CALZcbBariN8a-tX+7LKaUt8utFOJWZKf6CNhwr2t-PUDp_FVLg@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 I'm guessing that you are trying to add two 'Content' fields. Only one is allowed. See http://jira.xwiki.org/browse/XWIKI-8585 . You should use the 'Long Text' field instead. See http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+Appl... . If you already tried this then make sure the application was properly saved. Hope this helps, Marius On Mon, Sep 23, 2013 at 9:49 PM, prachi maheshwari <prachi.maheshwari@netboss.com> wrote:
I want two long descriptions on my creating an entry page for different kind of information. But even if I select two Description Field Palates while customizing the application there is only one which comes while creating a new Entry in that application. Can someone please suggest me the other way of doing it.
-- View this message in context: http://xwiki.475771.n2.nabble.com/While-creating-an-new-entry-on-a-new -application-Editing-the-application-tp7587225.html Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
------------------------------ Message: 3 Date: Tue, 24 Sep 2013 11:46:13 +0200 From: Denis Gervalle <dgl@softec.lu> To: valdis.vitolins@odo.lv, XWiki Developers <devs@xwiki.org> Subject: Re: [xwiki-devs] Reading Get/Post variables from url Message-ID: <CADb+PMpE6oaj=cJ4EQvE5_9X+4NvtHFSQ_kZV1v=WMC9v5GcNQ@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 On Tue, Sep 24, 2013 at 10:02 AM, Valdis V?toli?? <valdis.vitolins@odo.lv>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" < prachi.maheshwari@netboss.com> 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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Denis Gervalle SOFTEC sa - CEO eGuilde sarl - CTO ------------------------------ _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs End of devs Digest, Vol 75, Issue 53 ************************************