Re: [qooxdoo-devel] UploadMgr with different parameters for different files

2011-11-28 Thread omrihar
Hi, thanks for the quick reply and changes to this awesome contribution. I will check it later today and let you know :-) Best wishes, Omri -- View this message in context: http://qooxdoo.678.n2.nabble.com/UploadMgr-with-different-parameters-for-different-files-tp7030598p7038488.html Sent from t

Re: [qooxdoo-devel] UploadMgr with different parameters for different files

2011-11-28 Thread John Spackman
Hi Omri Re: adding different parameters for each file: that sounds like a reasonable suggestion to me! I've added methods setParam, getParam, and getParamNames to the com.zenesis.qx.upload.File class and to the c.z.q.u.UploadMgr class; when the file is uploaded, it merges both sets of parameters.

Re: [qooxdoo-devel] UploadMgr with different parameters for different files

2011-11-25 Thread omrihar
Sorry for flooding this message with repeated replies, but I hope it will be useful for someone else as well. So I set autoUpload to false, multiple to false and I would like to upload only one file at a time, and to allow the user to regret having selected a specific file. For this end I save the

Re: [qooxdoo-devel] UploadMgr with different parameters for different files

2011-11-25 Thread omrihar
Inspecting the code and noticing that I can simply use addParam also to modify a parameter (it simply uses this.__params[key] = value to set the parameter). However I would recommend perhaps adding support for file-specific params, and also support for removing a parameter. And perhaps making the

[qooxdoo-devel] UploadMgr with different parameters for different files

2011-11-25 Thread omrihar
Hi all, I'm trying to use the UploadMgr contribution to upload (possibly multiple) files to the server. I am using web2py as the back-end which automatically handles the upload, renames the files safely and stores the data related to the file in a database. I use the addParam method to send to we