I'ts corrrect, but I think it's necessary override this property:
# Set here to a very low 100 kb to allow samples to run.
org.apache.cocoon.uploads.maxsize=102400
Then Matthias, you can add this directory:
src/main/resources/META-INF/cocoon/properties
But it's wired, when you create a block using cocoon-22-archetype-block
archetype the directory
src/main/resources/META-INF/cocoon/spring/
is automatically generated, therefore you must have
src/main/resources/META-INF/...
Ciao
Alessandro
Grzegorz Kossakowski wrote:
Matthias Müller pisze:
thanks Barbara and Alessandro for replying,
somehow i don't have the core.properties file in my block. i even
don't have a cocoon folder in src/main/resources/META-INF/ did i
something wrong while creating the block?
Hello Matthias,
The core.properties file contains default settings and is stored in
cocoon-core block that you surely have in a classpath because your
block depends on it.
Uploads are enabled in Cocoon itself by default so you don't need to
do anything.
begin:vcard
fn:Alessandro Vincelli
n:;Alessandro Vincelli
url:http://www.alessandro.vincelli.name
version:2.1
end:vcard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]