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: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, September 24, 2013 8:00 AM
To: [email protected]
Subject: devs Digest, Vol 75, Issue 53
Send devs mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
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?? <[email protected]>
To: XWiki Developers <[email protected]>
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"
> <[email protected]> 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
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
------------------------------
Message: 2
Date: Tue, 24 Sep 2013 12:15:29 +0300
From: Marius Dumitru Florea <[email protected]>
To: XWiki Developers <[email protected]>
Subject: Re: [xwiki-devs] While creating an new entry on a new
application/ Editing the application
Message-ID:
<calzcbbarin8a-tx+7lkaut8utfojwzkf6cnhwr2t-pudp_f...@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+Application#HFieldPalette
. 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
<[email protected]> 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
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
------------------------------
Message: 3
Date: Tue, 24 Sep 2013 11:46:13 +0200
From: Denis Gervalle <[email protected]>
To: [email protected], XWiki Developers <[email protected]>
Subject: Re: [xwiki-devs] Reading Get/Post variables from url
Message-ID:
<CADb+PMpE6oaj=cJ4EQvE5_9X+4NvtHFSQ_kZV1v=wmc9v5g...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Tue, Sep 24, 2013 at 10:02 AM, Valdis V?toli?? <[email protected]>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" <
> [email protected]>
> > 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
> > > [email protected]
> > > http://lists.xwiki.org/mailman/listinfo/devs
> > >
> > _______________________________________________
> > devs mailing list
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/devs
>
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
--
Denis Gervalle
SOFTEC sa - CEO
eGuilde sarl - CTO
------------------------------
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs
End of devs Digest, Vol 75, Issue 53
************************************
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs