cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakub Kaniewski <>
Subject FlowScript and Upload after upgrade to Cocoon 2.1.7
Date Thu, 07 Apr 2005 17:56:09 GMT
Recently I upgraded Cocoon from 2.1.5 to 2.1.7. Most of things works 
fine, except one FlowScript function.

I have this HTML form (hidden fields values are passed from flow) :

<form enctype="multipart/form-data" method="POST" aaction="upload.html">
<inputtype="file" name="plik">
<input type="submit" name="upload" value="Upload file" >
<input type="hidden" name="directory" value="/root/file" >
<input type="hidden" name="action" value="upload">

In FlowScript if I try to access my hidden fields

var action = cocoon.request.get("action");

I always receive null. If I remove enctype from form element it works 
well, but in this case I can't access uploaded file. In Cocoon 2.1.5, 
this code works fine with set enctype.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message