i stumbled accross this behaviour as well. Even though you're not uploading anything, if your form has set the enctype and uploads is not enabled then the parameters are lost.

I don't know if this is desired behaviour. Maybe cocoon could still accept the form but reject the uploaded files?

Feel free to record this behaviour in bugzilla if you feel it deserves a bit more developers attention.

Regards
Jorg

Juha Muilu wrote:

I  found it!!!
Need to enable uploads in web.xml!!
   <init-param>
     <param-name>enable-uploads</param-name>
     <param-value>true</param-value>
   </init-param>

..I think it was working before upgrading the cocoon...
Cheers, Juha

Juha Muilu wrote:

Hi
Sorry to bother  this can be something trivial...

For some reason I cannot get request parameters in flowscript when submitted form has
enctype="multipart/form-data" -definition. only null is returned (and getParameterNames returns empty list)


When I remove the def then the cocoon.request.get("param") call works and returns the value..

I wonder have I missed something... I am not very familiar with the cocoon. The version I am using is 2.1.5.1

Best Regards, Juha



---------------------------------------------------------------------
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]



Reply via email to