ghoward 2003/10/22 18:45:34
Modified: src/webapp/samples/sources sitemap.xmap samples.xml
src/webapp/WEB-INF cocoon.xconf
Added: src/webapp/samples/sources/content upload.xml
src/java/org/apache/cocoon/components/source/impl
PartSource.java PartSourceFactory.java
Log:
Add new multipart file upload Part Source contributed by Paul Crabtree with samples. "Fixes" bug
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23931
...
1.1 cocoon-2.1/src/java/org/apache/cocoon/components/source/impl/PartSource.java
...
// get the object model from the component managers curr env.
Map objectModel =
CocoonComponentManager.getCurrentEnvironment().getObjectModel();
1) Is this really the right way to do it in 2.1?
2) I know Carsten (Berin?) just overhauled the Environment handling in 2.2 - what's the right way to do this there?
Geoff
