Matthias,
I migrated my upload-widget without change settings the web.xml.
By default upload is enabled, check this[1]
I only increased the max size file overriding this properties:
org.apache.cocoon.uploads.maxsize=10240000
putting this property in a file like this:
src/main/resources/META-INF/cocoon/properties/forms.properties
Ciao,
Alessandro
[1]
http://svn.apache.org/repos/asf/cocoon/trunk/core/cocoon-core/src/main/resources/META-INF/cocoon/properties/core.properties
Matthias Müller wrote:
hi there,
i try to migrate my cocoon 2.1 project to 2.2
i need to set the enable-uploads param to true in WEB-INF/web.xml since my upload widgets won't work properly otherwise.
but as far as i understand, the web..xml is generated during the deployment process.
so, where do i have to set the right properties?
is it the rcl.proporties in the projects root? i tried to set
'org.apache.cocoon.uploads.enable=true' but i didn't receive a change in the
generated web.xml.
i also tried to edit the in META-INF/cocoon/spring/block-servlet-service.xml,
like this
<servlet:init-params>
<entry key="enable-uploads" value="true" />
<entry key="upload-max-size" value="10000000" />
</servlet:init-params>
with the same result.
regards,
matthias
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]