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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to