* Brian Burridge:
> Yes I understood that. Here is the flow I am using:
>
> function post2requestUri{
> var queryString = "";
> for (var i in cocoon.getParameterNames){
> queryString += i + "=" + cocoon.request.getParameter(i) + "&";
> }
> cocoon.sendPage("http://localhost:8080/girscom/TestCocoon.
o post but are a
> > get for now, because I don't know what params will be present!> >> > Chris Marasti-Georg> >> > > -Original Message-> > > From: Ard Schrijvers [mailto:
[EMAIL PROTECTED]> [EMAIL PROTECTE
Brian Burridge wrote:
Problem is, I want to send all requests to this url, with any and all request params. I won't know
what they are in advance to hard code them in the sitemap.
Is there a way to get the xml from the RequestGenerator and send that as a
param?
http://www.somesite.org/getp
Did not see you were asking for POSTed parameters.
I wasn't the original posted. Look back at the first message in the
thread. Somewhere yesterday I believe..
Sorry, deleted the rest of the thread
Hmmm, was afraid of that... Someone else? (no time)
Hehe ...same here
Brian, meantime, th
Did not see you were asking for POSTed parameters.
I wasn't the original posted. Look back at the first message in the thread. Somewhere yesterday I
believe..
;-)
Feel free to submit a patch :)
Hmmm, was afraid of that... Someone else? (no time)
Brian, meantime, the flowscript workaround
Are you sure that this works with POSTed request parameters as well?
Did not see you were asking for POSTed parameters.
It uses request.getQueryString() so probably not
...but should be very easy to implement.
Feel free to submit a patch :)
cheers
--
Torsten
PGP.sig
Description: This is a
Are you sure that this works with POSTed request parameters as well?
Cheers!
Torsten Curdt wrote:
On 25.10.2005, at 09:35, Geert Josten wrote:
You cannot use this action to simply pass all request parameters to
an external http request, especially if you don't know the names of
the param
On 25.10.2005, at 09:35, Geert Josten wrote:
You cannot use this action to simply pass all request parameters to
an external http request, especially if you don't know the names of
the parameters...
You can ...use {requestQuery}
cheers
--
Torsten
PGP.sig
Description: This is a digitall
You cannot use this action to simply pass all request parameters to an external http request,
especially if you don't know the names of the parameters...
:-(
Torsten Curdt wrote:
On 25.10.2005, at 09:13, Geert Josten wrote:
Hi Brian,
Have you copied the flowscript code literally? The vari
On 25.10.2005, at 09:13, Geert Josten wrote:
Hi Brian,
Have you copied the flowscript code literally? The variable uri is
not defined. Replace it by a string literal or pass a uri parameter
to the function from the sitemap..
HTH,
Geert
Brian Burridge wrote:
I've added your code
Tha
t; Sent: Monday, October 24, 2005 5:00 AM
> > To: users@cocoon.apache.org <mailto:users@cocoon.apache.org>
> > Subject: RE: How to send parameters to a URL via http?
> >
> > I don't think Brian is much helped with this, because what he
ent!>> Chris Marasti-Georg
>> > -Original Message-> > From: Ard Schrijvers [mailto:[EMAIL PROTECTED]]> > Sent: Monday, October 24, 2005 5:00 AM> > To:
users@cocoon.apache.org> > Subject: RE: How to send parameters to a URL via http?>
BurridgeEnvoyé : 24 octobre, 2005 11:06À :
users@cocoon.apache.orgObjet : Re: How to send parameters to
a URL via http?Problem is, I want to send all requests to this url, with any and all request params. I won't know what they are in advance to hard code them in the sitemap.
users@cocoon.apache.orgObjet : Re: How to send parameters to a
URL via http?Problem is, I want to send all requests to this url, with any and all request params. I won't know what they are in advance to hard code them in the sitemap.
Is there a way to get the xml from the RequestGenerator and send
riginal Message-> > From: Ard Schrijvers [mailto:
[EMAIL PROTECTED]> [EMAIL PROTECTED]>]> > Sent: Monday, October 24, 2005 5:00 AM> > To:
users@cocoon.apache.org users@cocoon.apache.org>> > Subject: RE: How to send par
: Ard Schrijvers [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 24, 2005 10:24 AM
> To: users@cocoon.apache.org
> Subject: RE: How to send parameters to a URL via http?
>
> You could do it easily with flow-script:
>
>
>
>
to post but are a
> get for now, because I don't know what params will be present!
>
> Chris Marasti-Georg
>
> > -Original Message-
> > From: Ard Schrijvers [mailto:[EMAIL PROTECTED]
> > Sent: Monday, October 24, 2005 5:00 AM
> > To: users@cocoo
tring will be
empty
Chris Marasti-Georg
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian BurridgeSent:
Monday, October 24, 2005 10:07 AMTo:
users@cocoon.apache.orgSubject: Re: How to send parameters to a URL
via http?
I don't think I was as clear as
t but are a get for now, because I
> don't know what params will be present!
>
> Chris Marasti-Georg
>
> > -Original Message-
> > From: Ard Schrijvers [mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>]
> > Sent: Monday, Oc
m: Ard Schrijvers [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 24, 2005 5:00 AM> To: users@cocoon.apache.org> Subject: RE: How to send parameters to a URL via http?>> I don't think Brian is much helped with this, because what he
> wants is something like:>> >
ginal Message-
> From: Ard Schrijvers [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 24, 2005 5:00 AM
> To: users@cocoon.apache.org
> Subject: RE: How to send parameters to a URL via http?
>
> I don't think Brian is much helped with this, becaus
Not the nicest solution, but you could do this with a cinclude..
-write a cinclude template in jx or just plain xml
-generate that using jx of file
-use a transform insert the request parameters xml (isn't that possible in the
jx template as well?)
-cinclude transform
-voila..
Maybe someone can
I don't think Brian is much helped with this, because what he wants is
something like:
What Brians problem is is how to append the currentParameters to the external
xml fetch. I am not really sure about the syntax, but something like
Le 24 oct. 05, à 05:49, Brian Burridge a écrit :
... I see the File Generator can get xml from a url, but I don't see a
way to be able to include any parameters, or even better include the
xml the RequestGenerator can create, and pass that as a parameter...
You need a map:aggregate to combine
Hi,
I think if you redirect your web service call, request params are
transferred too.
http://www.yourserver.com/anothertest"/>
HTH
Jean-Christophe
Brian Burridge a écrit :
I have a very simple need for cocoon, but I haven't seen anything yet
that can do this.
I need to be able
25 matches
Mail list logo