cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Re: WSProxyGenerator
Date Tue, 11 Feb 2003 10:26:42 GMT
On 11/2/03 4:00, "ivelin" <ivelin@apache.org> wrote:
> 
> Pier,
> 
> Can you explain how do you plan to pass the parameters from the Http Request
> to the target URL?
> Do they override the once in the sitemap configuration for the generator?
> The idea of the WSProxy is to be used in its simplest form more often than
> not.

My problem is that I need to pass parameter lists... Like (for example) if
you have a checkbox on an HTML form, you'll get the same parameter name
repeated over and over and over...

Basically, what's in the "configuration" part of the sitemap is the "base"
configuration of your HTTP request, what's in the "pipeline" part of the
sitemap are the extends and overrides of the configuration...

> Which is just a target URL and maybe an optional http method (GET/POST).
> The samples show that it is a very feasible assumption as they show easy
> integration with a popular Blog server and a the Amazon Server.

Which is fine, but at the same time, very rough and  that "complete" (see
the example of parameter lists). Plus in POST you have to have the ability
to differentiate between what you pass as a query string and as a body of
the request (on the other side, you don't always have a Servlet, and in the
CGI world - for example - query string and request body in
"x-www-form-urlencoded" are quite different things)...

I still have to write some docs, but you can see how it works from the
code...

    Pier


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message