Thank you thank you! Suggestion, for doc editors: a cross-reference from the Request Generator page to StreamGenerator. http://cocoon.apache.org/2.1/userdocs/generators/request-generator.html describes the Request Generator as "Generates an XML representation of the incoming request." Which is true except for the body of the request, so maybe it should say "Generates an XML representation of the incoming request's headers and parameters." and have a cross-reference such as "For the body of the incoming request, use StreamGenerator."
Lars > -----Original Message----- > From: Upayavira [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 07, 2004 2:46 AM > To: [EMAIL PROTECTED] > Subject: Re: XForms/DENG passing parameters to Cocoon? > > > Lars Huttar wrote: > > >OK, having sniffed the http transaction, here is what I get... > > > >When submitting data using an HTML form, I get the following > request body: > > > > Linguistic_Subgroup_Id=69413&Subgroup_Name=Turkic&go=Submit > > > >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 > >body: > > > > > <gem:Linguistic_Subgroup><gem:Linguistic_Subgroup_Id>69413</gem:Linguistic > >_Subgroup_Id><gem:Subgroup_Name>Turkic</gem:Subgroup_Name></gem:L > inguistic_S > >ubgroup> > > > >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 > >itself. > > > > > StreamGenerator. > > Upayavira > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
