cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Huttar" <>
Subject RE: XForms/DENG passing parameters to Cocoon?
Date Thu, 07 Oct 2004 06:36:24 GMT
OK, having sniffed the http transaction, here is what I get...

When submitting data using an HTML form, I get the following request body:


This is just what I want: the parameters and values. I know how to make
Cocoon understand that.

When submitting data using XForm/DENG, I get the following HTTP POST request


I.e. it's in XML. That would be fine, if I could figure out how to get the
request body into the pipeline. Maybe using a request generator? No, that
gives the requestHeaders, requestParameters, and so on but nowhere does the
above XML data show up. The Request InputModule has get methods for request
body (content) length and type, but I don't see how to get the content
Any tips?

Incidentally, DENG seems to submit this same way regardless of what method I
tell it to use (put, get, or post).


> -----Original Message-----
> From: Conal Tuohy []
> Sent: Wednesday, October 06, 2004 9:07 PM
> To:
> Subject: RE: XForms/DENG passing parameters to Cocoon?
> Lars, my advice is to sniff the http transaction to see what deng
> sends the server, and compare it with what the html form sends. I
> have often used the freeware nettool for this and I recommend it.
> > I've been trying to use XForms in Cocoon, as has been discussed here
> > recently. I'm using Mozquito DENG
> > ( to render
> > the XForms. In general it works well, but when it comes to hitting the
> > submit button, I have not been successful in getting DENG to
> > communicate the
> > data values to Cocoon. I can get Cocoon to receive values
> > from a regular
> > HTML form (as request parameters - whether using get, post,
> > or put) or from
> > a Cocoon Form; I can also run a demo
> > (
> > googel.html&de
> > bug=1) of DENG submitting values to a php script and it
> > works. But I have
> > not been able to set up a DENG/XForm page so that I can hit
> > "submit" and
> > have a Cocoon XSP page down the pipeline receive the data.
> > The XSP acts like
> > no parameters have been received.
> > If anyone has managed to receive form data from DENG, I would
> > appreciate a
> > holler.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message