-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Tal,
you should be able to use {request-param:your parameter}
<map:generate type="html"
src="http://localhost/tr/{1}{2}?{request-param:first}&{request-param:second}&...">
K<o>
Tal Shalif wrote:
> How do I generate (in a sitemap.xmap pipeline) HTML from a remote
> HTTP server passing through the client browser's form parameters using
> the POST method?
>
>
> What I would like to achieve is embed a foreign site (e.g. a PHP based
> trouble ticket system running on Apache server) inside a Forrest/cocoon
> site (please see diagram below). I provide the generator with the
> client form data via the query string:
>
> <map:generate type="html"
> src="http://localhost/tr/{1}{2}?{request:queryString}">
>
> But what do I do if the client is sending form data using the POST
> method?
>
>
>
> +---------------+
> | remote:80 | (remote http)
> +---------------+
> ||
> ||
> \/
> +-----------------------------------+
> | site skinning with forrest/cocoon | (cocoon/forrest)
> +-----------------------------------+
> ||
> ||
> \/
> +------------------------------------------+
> | User view HTML page and/or submits back | (client browser)
> | its form data using the POST method |
> +------------------------------------------+
> || /\
> || ||
> \/ ||
> +--------------------------------------------------+
> | Cocoon passes the request | |
> | to remote server also using | Site skinning with | (cocoon/forrest)
> | the POST method | Cocoon/forres |
> +--------------------------------------------------+
>
> || /\
> || ||
> \/ ||
>
> +-------------------------+
> | remote HTTP server:80 | (remote http)
> +-------------------------+
>
>
>
- --
[EMAIL PROTECTED]
http://conficio.blogspot.com/
================================================
| We teach software one screencast at a time |
================================================
http://www.conficio.com/
Tel: +1 (781) 632 5773 - Fax: +1 (781) 207 9159
Conficio
P.O.Box 761062, Melrose,
MA 02176
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
iD8DBQFFQgMlRDUvrJRNjTARAvhuAJ9KkeHD8f9BbaoHX2v6OMKP8QXKyACfZGbW
EIF2BkY4cuspURx1sspI67M=
=TNBl
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]