Re: How to send parameters to a URL via http?

2005-10-25 Thread Jean-Baptiste Quenot
* 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.

Re: How to send parameters to a URL via http?

2005-10-25 Thread Brian Burridge
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

Re: How to send parameters to a URL via http?

2005-10-25 Thread Zbigniew Bomert OP
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

Re: How to send parameters to a URL via http?

2005-10-25 Thread Torsten Curdt
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

Re: How to send parameters to a URL via http?

2005-10-25 Thread Geert Josten
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

Re: How to send parameters to a URL via http?

2005-10-25 Thread Torsten Curdt
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

Re: How to send parameters to a URL via http?

2005-10-25 Thread Geert Josten
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

Re: How to send parameters to a URL via http?

2005-10-25 Thread Torsten Curdt
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

Re: How to send parameters to a URL via http?

2005-10-25 Thread Geert Josten
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

Re: How to send parameters to a URL via http?

2005-10-25 Thread Torsten Curdt
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

Re: How to send parameters to a URL via http?

2005-10-25 Thread Geert Josten
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

Re: How to send parameters to a URL via http?

2005-10-24 Thread Brian Burridge
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?>

RE: How to send parameters to a URL via http?

2005-10-24 Thread Chris Marasti-Georg
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.

RE: How to send parameters to a URL via http?

2005-10-24 Thread Boisvert, Éric
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

Re: How to send parameters to a URL via http?

2005-10-24 Thread Brian Burridge
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

RE: How to send parameters to a URL via http?

2005-10-24 Thread Chris Marasti-Georg
: 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: > > > >

RE: How to send parameters to a URL via http?

2005-10-24 Thread Ard Schrijvers
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

RE: How to send parameters to a URL via http?

2005-10-24 Thread Chris Marasti-Georg
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

Re: How to send parameters to a URL via http?

2005-10-24 Thread Upayavira
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

Re: How to send parameters to a URL via http?

2005-10-24 Thread Brian Burridge
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:>> >  

RE: How to send parameters to a URL via http?

2005-10-24 Thread Chris Marasti-Georg
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

Re: How to send parameters to a URL via http?

2005-10-24 Thread Geert Josten
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

RE: How to send parameters to a URL via http?

2005-10-24 Thread Ard Schrijvers
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

Re: How to send parameters to a URL via http?

2005-10-23 Thread Bertrand Delacretaz
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

Re: How to send parameters to a URL via http?

2005-10-23 Thread Jean-Christophe Kermagoret
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