cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: CInclude POST (by Payload)
Date Wed, 29 Aug 2007 12:11:53 GMT
Andrew Chamberlain pisze:
> Hi Grzegorz,
> 
> The example code I gave was from a stand-alone application.  Within
> Cocoon itself, I was hoping that the content of the request body could
> be specified using a cinclude directive.  Say, for instance, using a
> <cinclude:body> element :
> 
> <cinclude:includexml ignoreErrors="false">
>   <cinclude:src>http://...</cinclude:src>
>   <cinclude:configuration>
>     <cinclude:parameter>
>       <cinclude:name>method</cinclude:name>
>       <cinclude:value>POST</cinclude:value>
>     </cinclude:parameter>
>   </cinclude:configuration>
>   <cinclude:body>
>     <myrequest>
>       ...
>     </myrequest>
>   </cinclude:body>
> </cinclude:includexml>
> 
> If this kind of mechanism was possible, it would be ideal, but perhaps
> it is in Cocoon 2.2...?  I'll take a look.

Yes, it is possible. Take a look at the thread I mentioned and ask additional questions if
something
is unclear.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

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


Mime
View raw message