<snip/>
I also just checked in a new CopySourceAction that has been in use for ages in one of my projects. It doesn't create a temp file, but allows to copy any source (including, but not restricted to, cocoon:) to any ModifiableSource :
<map:act type="copy-source" src="cocoon://pipeline.xml">
<map:parameter name="dest" value="context://WEB-INF/data/file.xml"/>
</map:act>
nice, really nice!
Yeah, but soooo simple. Have a look at the code, it's really trivial ;-)
And as I write I realize it could be even shorter by simply using SourceUtil.copy(), which did not existed at the time I wrote it !!
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
